Skip to content

Commit 679fa4f

Browse files
authored
ci: split QEMU builds (#313)
This should speed-up CI
1 parent b73baa4 commit 679fa4f

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,39 @@ jobs:
3333

3434

3535
build_wheels:
36-
name: Build ${{ matrix.arch }} wheels on ${{ matrix.os }}
36+
name: Build ${{ matrix.build }}${{ matrix.arch }} wheels on ${{ matrix.os }}
3737
needs: [lint]
3838
runs-on: ${{ matrix.os }}
3939
strategy:
4040
fail-fast: false
4141
matrix:
4242
include:
43-
- os: ubuntu-24.04
43+
- os: ubuntu-latest
4444
arch: "x86_64"
45-
- os: ubuntu-24.04
45+
- os: ubuntu-latest
4646
arch: "i686"
4747
- os: ubuntu-24.04-arm
4848
arch: "aarch64"
49-
- os: ubuntu-24.04
49+
- os: ubuntu-24.04-arm
50+
arch: "armv7l"
51+
- os: ubuntu-latest
5052
arch: "ppc64le"
51-
- os: ubuntu-24.04
53+
build: "manylinux_"
54+
- os: ubuntu-latest
55+
arch: "ppc64le"
56+
build: "musllinux_"
57+
- os: ubuntu-latest
58+
arch: "s390x"
59+
build: "manylinux_"
60+
- os: ubuntu-latest
5261
arch: "s390x"
53-
- os: ubuntu-24.04
62+
build: "musllinux_"
63+
- os: ubuntu-latest
5464
arch: "riscv64"
55-
- os: ubuntu-24.04-arm
56-
arch: "armv7l"
65+
build: "manylinux_"
66+
- os: ubuntu-latest
67+
arch: "riscv64"
68+
build: "musllinux_"
5769
- os: windows-2022
5870
arch: "AMD64"
5971
- os: windows-11-arm
@@ -81,10 +93,11 @@ jobs:
8193
uses: pypa/cibuildwheel@v3.1
8294
env:
8395
CIBW_ARCHS: "${{ matrix.arch }}"
96+
CIBW_BUILD: "cp39-${{ matrix.build }}*"
8497

8598
- uses: actions/upload-artifact@v4
8699
with:
87-
name: cibw-wheels-${{ matrix.os }}-${{ matrix.arch }}
100+
name: cibw-wheels-${{ matrix.os }}-${{ matrix.build }}${{ matrix.arch }}
88101
path: ./wheelhouse/*.whl
89102

90103
- name: Test wheel on host Linux

0 commit comments

Comments
 (0)