Show More
@@ -36,6 +36,9 variables: | |||||
36 | # with shell runner, its content is not cleaned from one call to the next, |
|
36 | # with shell runner, its content is not cleaned from one call to the next, | |
37 | # so plan for it. |
|
37 | # so plan for it. | |
38 | TMP_WORK_DIR: "${CI_PROJECT_DIR}/../.." |
|
38 | TMP_WORK_DIR: "${CI_PROJECT_DIR}/../.." | |
|
39 | # we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither | |||
|
40 | # needed nor working. | |||
|
41 | CIBW_SKIP: "pp*" | |||
39 |
|
42 | |||
40 | .all: |
|
43 | .all: | |
41 | # help changing all job at once when debugging |
|
44 | # help changing all job at once when debugging | |
@@ -344,11 +347,11 macos: | |||||
344 | needs: |
|
347 | needs: | |
345 | - build-c-wheel-macos |
|
348 | - build-c-wheel-macos | |
346 |
|
349 | |||
347 | # we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither |
|
350 | # We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as | |
348 | # needed nor working. |
|
351 | # this is the only one we need to test. However testing that build work on all | |
|
352 | # version is useful and match what we do with Linux. | |||
349 | # |
|
353 | # | |
350 | # We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as |
|
354 | # CIBW_SKIP is set globally at the start of the file. See comment there. | |
351 | # 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. |
|
|||
352 | # |
|
355 | # | |
353 | # The weird directory structure match the one we use for Linux to deal with the |
|
356 | # The weird directory structure match the one we use for Linux to deal with the | |
354 | # multiple jobs. (all this might be unnecessary) |
|
357 | # multiple jobs. (all this might be unnecessary) | |
@@ -361,7 +364,7 build-c-wheel-macos: | |||||
361 | MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1" |
|
364 | MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1" | |
362 | script: |
|
365 | script: | |
363 | - rm -rf tmp-wheels |
|
366 | - rm -rf tmp-wheels | |
364 |
- |
|
367 | - cibuildwheel --output-dir tmp-wheels/ | |
365 | - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do |
|
368 | - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do | |
366 | mkdir -p wheels/c/$py_version/; |
|
369 | mkdir -p wheels/c/$py_version/; | |
367 | mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/; |
|
370 | mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/; |
General Comments 0
You need to be logged in to leave comments.
Login now