@@ -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).
79- CIBW_ARCHS_LINUX : " aarch64"
78+ 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_LINUX : " 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 }}
@@ -131,9 +119,12 @@ jobs:
131119 with :
132120 python-version : " 3.x"
133121
134- - name : Build wheels
122+ - name : Install cibuildwheel
135123 run : |
136124 python3 -m pip install -r .ci/requirements-cibw.txt
125+
126+ - name : Build wheels
127+ run : |
137128 python3 -m cibuildwheel --output-dir wheelhouse
138129 env :
139130 CIBW_ARCHS : ${{ matrix.cibw_arch }}
@@ -175,6 +166,10 @@ jobs:
175166 with :
176167 python-version : " 3.x"
177168
169+ - name : Install cibuildwheel
170+ run : |
171+ python.exe -m pip install -r .ci/requirements-cibw.txt
172+
178173 - name : Prepare for build
179174 run : |
180175 choco install nasm --no-progress
@@ -183,8 +178,6 @@ jobs:
183178 # Install extra test images
184179 xcopy /S /Y Tests\test-images\* Tests\images
185180
186- & python.exe -m pip install -r .ci/requirements-cibw.txt
187-
188181 & python.exe winbuild\build_prepare.py -v --no-imagequant --architecture=${{ matrix.arch }}
189182 shell : pwsh
190183
0 commit comments