Skip to content

Commit b53c5f9

Browse files
[PR #10396/481a8374 backport][3.11] Switch to native arm runners for wheel builds (#10398)
**This is a backport of PR #10396 as merged into master (481a837).** Not a user facing change as we should get the same wheels in the end, however it should build a bit faster since its using native runners and musl is now split up Co-authored-by: J. Nick Koston <[email protected]>
1 parent 2223776 commit b53c5f9

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ci-cd.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -347,16 +347,27 @@ jobs:
347347
needs: pre-deploy
348348
strategy:
349349
matrix:
350-
os: [ubuntu, windows, macos]
350+
os: [ubuntu, windows, macos, "ubuntu-24.04-arm"]
351351
qemu: ['']
352+
musl: [""]
352353
include:
353-
# Split ubuntu job for the sake of speed-up
354+
# Split ubuntu/musl jobs for the sake of speed-up
354355
- os: ubuntu
355-
qemu: aarch64
356+
qemu: ppc64le
357+
musl: ""
358+
- os: ubuntu
359+
qemu: s390x
360+
musl: ""
356361
- os: ubuntu
357362
qemu: ppc64le
363+
musl: musllinux
358364
- os: ubuntu
359365
qemu: s390x
366+
musl: musllinux
367+
- os: ubuntu
368+
musl: musllinux
369+
- os: ubuntu-24.04-arm
370+
musl: musllinux
360371
steps:
361372
- name: Checkout
362373
uses: actions/checkout@v4
@@ -398,12 +409,13 @@ jobs:
398409
- name: Build wheels
399410
uses: pypa/[email protected]
400411
env:
412+
CIBW_SKIP: ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}
401413
CIBW_ARCHS_MACOS: x86_64 arm64 universal2
402414
- name: Upload wheels
403415
uses: actions/upload-artifact@v4
404416
with:
405417
name: >-
406-
dist-${{ matrix.os }}-${{
418+
dist-${{ matrix.os }}-${{ matrix.musl }}-${{
407419
matrix.qemu
408420
&& matrix.qemu
409421
|| 'native'

0 commit comments

Comments
 (0)