Skip to content

Commit

Permalink
add CIBW_ARCHS to support osx arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaily committed Aug 21, 2023
1 parent e8d6af6 commit ddd3a97
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
fail-fast: false
matrix:
buildplat:
- [ubuntu-latest, manylinux_x86_64]
- [ubuntu-latest, musllinux_i686]
- [ubuntu-latest, manylinux_x86_64]
- [ubuntu-latest, musllinux_i686]
- [windows-latest, win_amd64]
- [windows-latest, win32]
- [macos-latest, macosx_x86_64]
- [macos-latest, macosx_arm64]
- [ubuntu-latest, manylinux_x86_64, auto]
- [ubuntu-latest, musllinux_i686, auto]
- [ubuntu-latest, manylinux_x86_64, auto]
- [ubuntu-latest, musllinux_i686, auto]
- [windows-latest, win_amd64, auto]
- [windows-latest, win32, auto]
- [macos-latest, macosx_x86_64, x86_64]
- [macos-latest, macosx_arm64, arm64]
# we only need to build for a single python version since the wheels are universal
python: ["cp310"]

Expand All @@ -49,6 +49,7 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_ARCHS: ${{ matrix.buildplat[2] }}
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}

- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ddd3a97

Please sign in to comment.