Skip to content

Commit ddd3a97

Browse files
committed
add CIBW_ARCHS to support osx arm
1 parent e8d6af6 commit ddd3a97

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
buildplat:
35-
- [ubuntu-latest, manylinux_x86_64]
36-
- [ubuntu-latest, musllinux_i686]
37-
- [ubuntu-latest, manylinux_x86_64]
38-
- [ubuntu-latest, musllinux_i686]
39-
- [windows-latest, win_amd64]
40-
- [windows-latest, win32]
41-
- [macos-latest, macosx_x86_64]
42-
- [macos-latest, macosx_arm64]
35+
- [ubuntu-latest, manylinux_x86_64, auto]
36+
- [ubuntu-latest, musllinux_i686, auto]
37+
- [ubuntu-latest, manylinux_x86_64, auto]
38+
- [ubuntu-latest, musllinux_i686, auto]
39+
- [windows-latest, win_amd64, auto]
40+
- [windows-latest, win32, auto]
41+
- [macos-latest, macosx_x86_64, x86_64]
42+
- [macos-latest, macosx_arm64, arm64]
4343
# we only need to build for a single python version since the wheels are universal
4444
python: ["cp310"]
4545

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

5455
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)