Show More
@@ -56,17 +56,17 variables: | |||
|
56 | 56 | FLAVOR: "" |
|
57 | 57 | MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1" |
|
58 | 58 | CI_CLEVER_CLOUD_FLAVOR: "XS" |
|
59 |
|
|
|
59 | script: | |
|
60 | - PLATFORM=`/opt/python/cp313-cp313/bin/python -c 'import sys; print(sys.platform)'` | |
|
60 | 61 | - echo $WHEEL_TYPE |
|
61 | 62 | - test -n "$WHEEL_TYPE" |
|
62 | 63 | - echo $FLAVOR |
|
63 | - mkdir -p wheels/$WHEEL_TYPE/$BUILD_PY_ID | |
|
64 | script: | |
|
64 | - mkdir -p wheels/$PLATFORM/$WHEEL_TYPE/$BUILD_PY_ID | |
|
65 | 65 | - /opt/python/$BUILD_PY_ID/bin/python setup.py bdist_wheel --dist-dir tmp-wheelhouse |
|
66 | - auditwheel repair tmp-wheelhouse/*.whl -w wheels/$WHEEL_TYPE/$BUILD_PY_ID | |
|
66 | - auditwheel repair tmp-wheelhouse/*.whl -w wheels/$PLATFORM/$WHEEL_TYPE/$BUILD_PY_ID | |
|
67 | 67 | artifacts: |
|
68 | 68 | paths: |
|
69 | - wheels/$WHEEL_TYPE/$BUILD_PY_ID | |
|
69 | - wheels/ | |
|
70 | 70 | expire_in: 1 week |
|
71 | 71 | |
|
72 | 72 | build-c-wheel: |
@@ -111,13 +111,15 build-c-wheel: | |||
|
111 | 111 | - PORT_START=`expr 19051 + 1009 '*' $CI_CONCURRENT_ID` |
|
112 | 112 | - PORT_ARG="--port $PORT_START" |
|
113 | 113 | - echo $PORT_ARG |
|
114 | - PLATFORM=`$PYTHON -c 'import sys; print(sys.platform)'` | |
|
115 | - echo $PLATFORM | |
|
114 | 116 | - WHEEL_ARG="" |
|
115 | 117 | - SHARDING_ARGS="" |
|
116 | 118 | - if test -n "$WHEEL_TYPE"; then |
|
117 | 119 | PY_TAG=`$PYTHON -c 'import sys; v=sys.version_info; t=f"cp{v.major}{v.minor}"; print(f"{t}-{t}")'`; |
|
118 | 120 | echo "$PY_TAG"; |
|
119 | 121 | test -n "PY_TAG"; |
|
120 | WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$WHEEL_TYPE/$PY_TAG/*.whl`"; | |
|
122 | WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$PLATFORM/$WHEEL_TYPE/$PY_TAG/*.whl`"; | |
|
121 | 123 | test -n "$WHEEL"; |
|
122 | 124 | echo installing from $WHEEL; |
|
123 | 125 | WHEEL_ARG="--hg-wheel $WHEEL"; |
@@ -429,11 +431,12 build-c-wheel-macos: | |||
|
429 | 431 | variables: |
|
430 | 432 | MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1" |
|
431 | 433 | script: |
|
434 | - PLATFORM=`$PYTHON -c 'import sys; print(sys.platform)'` | |
|
432 | 435 | - rm -rf tmp-wheels |
|
433 | 436 | - cibuildwheel --output-dir tmp-wheels/ |
|
434 | 437 | - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do |
|
435 | mkdir -p wheels/c/$py_version/; | |
|
436 | mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/; | |
|
438 | mkdir -p wheels/$PLATFORM/c/$py_version/; | |
|
439 | mv tmp-wheels/*$py_version*.whl wheels/$PLATFORM/c/$py_version/; | |
|
437 | 440 | done |
|
438 | 441 | - rm -rf tmp-wheels |
|
439 | 442 | artifacts: |
General Comments 0
You need to be logged in to leave comments.
Login now