Skip to content

Commit e84b0a4

Browse files
committed
Combine build steps
1 parent bc3cf97 commit e84b0a4

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,19 @@ jobs:
6969
run: |
7070
python3 -m pip install -r .ci/requirements-cibw.txt
7171
72-
- name: Build wheels (manylinux)
73-
if: matrix.spec != 'musllinux'
72+
- name: Build wheels
7473
run: |
7574
python3 -m cibuildwheel --output-dir wheelhouse
7675
env:
7776
# Build only the currently selected Linux architecture (so we can
7877
# parallelise for speed).
7978
CIBW_ARCHS: "aarch64"
8079
# Likewise, select only one Python version per job to speed this up.
81-
CIBW_BUILD: "${{ matrix.python-version }}-manylinux*"
80+
CIBW_BUILD: "${{ matrix.python-version }}-${{ matrix.spec == 'musllinux' && 'musllinux' || 'manylinux' }}*"
8281
# Extra options for manylinux.
8382
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.spec }}
8483
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ${{ matrix.spec }}
8584

86-
- name: Build wheels (musllinux)
87-
if: matrix.spec == 'musllinux'
88-
run: |
89-
python3 -m cibuildwheel --output-dir wheelhouse
90-
env:
91-
# Build only the currently selected Linux architecture (so we can
92-
# parallelise for speed).
93-
CIBW_ARCHS: "aarch64"
94-
# Likewise, select only one Python version per job to speed this up.
95-
CIBW_BUILD: "${{ matrix.python-version }}-${{ matrix.spec }}*"
96-
9785
- uses: actions/upload-artifact@v4
9886
with:
9987
name: dist-qemu-${{ matrix.python-version }}-${{ matrix.spec }}

0 commit comments

Comments
 (0)