Skip to content
Snippets Groups Projects
Commit d0e728b0db0e authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

wheel: assign CIBW_SKIP globally

The other cibuildwheels (e.g. windows) will needs it too.
parent 7a568296296e
No related branches found
No related tags found
2 merge requests!1083Merge stable into default,!1068preparation for Windows Wheel building
Pipeline #92279 passed
......@@ -36,6 +36,9 @@
# with shell runner, its content is not cleaned from one call to the next,
# so plan for it.
TMP_WORK_DIR: "${CI_PROJECT_DIR}/../.."
# we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither
# needed nor working.
CIBW_SKIP: "pp*"
.all:
# help changing all job at once when debugging
......@@ -344,6 +347,7 @@
needs:
- build-c-wheel-macos
# we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither
# needed nor working.
# We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as
# 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.
#
......@@ -349,6 +353,5 @@
#
# We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as
# 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.
# CIBW_SKIP is set globally at the start of the file. See comment there.
#
# The weird directory structure match the one we use for Linux to deal with the
# multiple jobs. (all this might be unnecessary)
......@@ -361,7 +364,7 @@
MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1"
script:
- rm -rf tmp-wheels
- CIBW_SKIP="pp*" cibuildwheel --output-dir tmp-wheels/
- cibuildwheel --output-dir tmp-wheels/
- for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do
mkdir -p wheels/c/$py_version/;
mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment