File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,19 +173,58 @@ jobs:
173173 macos-13,
174174 macos-latest,
175175 ]
176- qemu : ['' ]
176+ qemu : ["" ]
177177 musl : [""]
178+ pyver : [""]
178179 include :
180+ - os : ubuntu-latest
181+ musl : " musllinux"
182+ - os : ubuntu-24.04-arm
183+ musl : " musllinux"
184+ # qemu is slow, make a single
185+ # runner per Python version
186+ - os : ubuntu-latest
187+ qemu : armv7l
188+ musl : " musllinux"
189+ pyver : cp39
190+ - os : ubuntu-latest
191+ qemu : armv7l
192+ musl : " musllinux"
193+ pyver : cp310
194+ - os : ubuntu-latest
195+ qemu : armv7l
196+ musl : " musllinux"
197+ pyver : cp311
198+ - os : ubuntu-latest
199+ qemu : armv7l
200+ musl : " musllinux"
201+ pyver : cp312
202+ - os : ubuntu-latest
203+ qemu : armv7l
204+ musl : " musllinux"
205+ pyver : cp313
206+ # qemu is slow, make a single
207+ # runner per Python version
179208 - os : ubuntu-latest
180209 qemu : armv7l
181210 musl : " "
211+ pyver : cp39
182212 - os : ubuntu-latest
183213 qemu : armv7l
184- musl : musllinux
214+ musl : " "
215+ pyver : cp310
185216 - os : ubuntu-latest
186- musl : musllinux
187- - os : ubuntu-24.04-arm
188- musl : musllinux
217+ qemu : armv7l
218+ musl : " "
219+ pyver : cp311
220+ - os : ubuntu-latest
221+ qemu : armv7l
222+ musl : " "
223+ pyver : cp312
224+ - os : ubuntu-latest
225+ qemu : armv7l
226+ musl : " "
227+ pyver : cp313
189228 steps :
190229 - name : Checkout
191230 uses : actions/checkout@v4
@@ -215,6 +254,13 @@ jobs:
215254 # use default "auto" otherwise
216255 echo "CIBW_ARCHS_LINUX=${{ matrix.qemu }}" >> $GITHUB_ENV
217256 fi
257+ - name : Limit to a specific Python version on slow QEMU
258+ if : ${{ matrix.pyver }}
259+ run : |
260+ if [[ -n "${{ matrix.pyver }}" ]]; then
261+ echo "CIBW_BUILD=${{ matrix.pyver }}*" >> $GITHUB_ENV
262+ fi
263+
218264 - name : Install python-semantic-release
219265 run : pipx install python-semantic-release==7.34.6
220266
You can’t perform that action at this time.
0 commit comments