Skip to content

Update GMP & MPC versions in scripts #282

Update GMP & MPC versions in scripts

Update GMP & MPC versions in scripts #282

Workflow file for this run

name: Build Wheels
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_PRERELEASE_PYTHONS: True
CIBW_SKIP: pp*
CIBW_BEFORE_BUILD: bash scripts/before_ci_build.sh
CIBW_TEST_EXTRAS: tests
CIBW_TEST_COMMAND: python {package}/test/runtests.py
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse
build_wheels_macos_arm64:
name: Build wheel on ${{ matrix.os }} arm64
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
steps:
- uses: actions/checkout@v3
- name: Build wheel
uses: pypa/[email protected]
env:
CIBW_PRERELEASE_PYTHONS: True
CIBW_BEFORE_BUILD: bash scripts/before_ci_build_apple_silicon.sh
CIBW_SKIP: pp*
CIBW_ARCHS_MACOS: arm64
CIBW_TEST_EXTRAS: tests
CIBW_TEST_COMMAND: python {package}/test/runtests.py
- uses: actions/upload-artifact@v3
with:
name: wheels
path: ./wheelhouse