Skip to content

Commit 7c48bcf

Browse files
committed
Use ubuntu arm runners
1 parent 7e70fd2 commit 7c48bcf

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff 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
@@ -43,9 +45,7 @@ jobs:
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
@@ -54,7 +54,7 @@ jobs:
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:

0 commit comments

Comments
 (0)