Show More
@@ -291,3 +291,29 macos: | |||||
291 | when: manual # avoid overloading the CI by default |
|
291 | when: manual # avoid overloading the CI by default | |
292 | tags: |
|
292 | tags: | |
293 | - macos |
|
293 | - macos | |
|
294 | ||||
|
295 | # we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither | |||
|
296 | # needed nor working. | |||
|
297 | # | |||
|
298 | # We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as | |||
|
299 | # this is the only one we need to test. However testing that build work on all version is useful and match what we do with Linux. | |||
|
300 | # | |||
|
301 | # The weird directory structure match the one we use for Linux to deal with the | |||
|
302 | # multiple jobs. (all this might be unnecessary) | |||
|
303 | build-c-wheel-macos: | |||
|
304 | when: manual # avoid overloading the CI by default | |||
|
305 | stage: build | |||
|
306 | tags: | |||
|
307 | - macos | |||
|
308 | script: | |||
|
309 | - rm -rf tmp-wheels | |||
|
310 | - CIBW_SKIP="pp*" cibuildwheel --output-dir tmp-wheels/ | |||
|
311 | - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do | |||
|
312 | mkdir -p wheels/c/$py_version/; | |||
|
313 | mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/; | |||
|
314 | done | |||
|
315 | - rm -rf tmp-wheels | |||
|
316 | artifacts: | |||
|
317 | paths: | |||
|
318 | - wheels | |||
|
319 | expire_in: 1 week |
General Comments 0
You need to be logged in to leave comments.
Login now