File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,16 +24,18 @@ jobs:
2424 strategy :
2525 fail-fast : false
2626 matrix :
27- os : [ubuntu-latest, macos-latest, windows-latest]
27+ include :
28+ - os : ubuntu-latest
29+ archs : x86_64
30+ - os : ubuntu-latest-arm
31+ archs : aarch64
32+ - os : macos-latest
33+ archs : " x86_64 arm64"
34+ - os : windows-latest
35+ archs : AMD64
2836 steps :
2937 - uses : actions/checkout@v4
3038
31- - name : Set up QEMU (Linux aarch64)
32- if : matrix.os == 'ubuntu-latest'
33- uses : docker/setup-qemu-action@v3
34- with :
35- platforms : arm64
36-
3739 - name : Set up MSVC (Windows)
3840 if : matrix.os == 'windows-latest'
3941 uses : ilammy/msvc-dev-cmd@v1
4345 env :
4446 CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
4547 CIBW_SKIP : " *-musllinux_*"
46- CIBW_ARCHS_LINUX : x86_64 aarch64
47- CIBW_ARCHS_MACOS : x86_64 arm64
48- CIBW_ARCHS_WINDOWS : AMD64
48+ CIBW_ARCHS : ${{ matrix.archs }}
4949 CIBW_ENVIRONMENT_MACOS : " MACOSX_DEPLOYMENT_TARGET=10.15"
5050 CIBW_TEST_REQUIRES : pytest
5151 CIBW_TEST_COMMAND : pytest {project}/tests -v
5454
5555 - uses : actions/upload-artifact@v4
5656 with :
57- name : wheels-${{ matrix.os }}
57+ name : wheels-${{ matrix.os }}-${{ matrix.archs }}
5858 path : wheelhouse/*.whl
5959
6060 upload :
You can’t perform that action at this time.
0 commit comments