Skip to content

Commit

Permalink
[#106] Try building arm64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 authored Mar 17, 2024
1 parent 25628c2 commit 65d0118
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-22.04, macos-13, macos-14, windows-2022]

steps:
- uses: actions/checkout@v4
Expand All @@ -35,15 +36,15 @@ jobs:
name: Install Python

- name: Install cibuildwheel
run: python -m pip install "cibuildwheel>=2.16,<2.17"
run: python -m pip install "cibuildwheel>=2.17,<2.18"

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: "cp38-* cp39-* cp310-* cp311-* cp312-*"
CIBW_SKIP: "*-win32 pp* *-musllinux_i686" # Skip win32, PyPy and muslinux32 builds
# Build wheels for Apple x86_64 only; we use another workflow for Apple arm64
CIBW_ARCHS_MACOS: "x86_64"
CIBW_ARCHS_MACOS: "native"
# Build manylinux2014 wheels
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
Expand Down

0 comments on commit 65d0118

Please sign in to comment.