##// END OF EJS Templates
ci: automatically compute the python tag we use to identify tag...
marmoute -
r53096:5ea21e0c stable
parent child Browse files
Show More
@@ -93,11 +93,12 build-c-wheel:
93 93 script:
94 94 - echo "$RUNTEST_ARGS"
95 95 - echo "$WHEEL_TYPE"
96 - echo $BUILD_PY_ID
97 96 - WHEEL=""
98 97 - if test -n "$WHEEL_TYPE"; then
99 test -n "$BUILD_PY_ID";
100 WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$WHEEL_TYPE/$BUILD_PY_ID/*.whl`";
98 PY_TAG=`$PYTHON -c 'import sys; v=sys.version_info; t=f"cp{v.major}{v.minor}"; print(f"{t}-{t}")'`;
99 echo "$PY_TAG";
100 test -n "PY_TAG";
101 WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$WHEEL_TYPE/$PY_TAG/*.whl`";
101 102 test -n "$WHEEL";
102 103 fi
103 104 - if test -n "$WHEEL"; then
@@ -141,7 +142,6 test-c:
141 142
142 143 variables:
143 144 WHEEL_TYPE: "c"
144 BUILD_PY_ID: "cp311-cp311"
145 145 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
146 146 TEST_HGTESTS_ALLOW_NETIO: "1"
147 147
@@ -177,7 +177,6 test-3.8-c:
177 177 variables:
178 178 PYTHON: python3.8
179 179 WHEEL_TYPE: "c"
180 BUILD_PY_ID: "cp38-cp38"
181 180 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
182 181 TEST_HGTESTS_ALLOW_NETIO: "1"
183 182 needs:
@@ -193,7 +192,6 test-3.12-c:
193 192 variables:
194 193 PYTHON: python3.12
195 194 WHEEL_TYPE: "c"
196 BUILD_PY_ID: "cp312-cp312"
197 195 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
198 196 TEST_HGTESTS_ALLOW_NETIO: "1"
199 197 needs:
@@ -216,7 +214,6 test-3.13-c:
216 214 variables:
217 215 PYTHON: python3.13
218 216 WHEEL_TYPE: "c"
219 BUILD_PY_ID: "cp313-cp313"
220 217 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
221 218 TEST_HGTESTS_ALLOW_NETIO: "1"
222 219 needs:
General Comments 0
You need to be logged in to leave comments. Login now