8000 chore: split up armv7l wheels to speed up release (#1524) · python-zeroconf/python-zeroconf@8fbbe41 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 8fbbe41

Browse files
authored
chore: split up armv7l wheels to speed up release (#1524)
1 parent 0ca624d commit 8fbbe41

File tree

1 file changed

+51
-5
lines changed

1 file changed

+51
-5
lines changed

.github/workflows/ci.yml

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
0