##// 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 script:
93 script:
94 - echo "$RUNTEST_ARGS"
94 - echo "$RUNTEST_ARGS"
95 - echo "$WHEEL_TYPE"
95 - echo "$WHEEL_TYPE"
96 - echo $BUILD_PY_ID
97 - WHEEL=""
96 - WHEEL=""
98 - if test -n "$WHEEL_TYPE"; then
97 - if test -n "$WHEEL_TYPE"; then
99 test -n "$BUILD_PY_ID";
98 PY_TAG=`$PYTHON -c 'import sys; v=sys.version_info; t=f"cp{v.major}{v.minor}"; print(f"{t}-{t}")'`;
100 WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$WHEEL_TYPE/$BUILD_PY_ID/*.whl`";
99 echo "$PY_TAG";
100 test -n "PY_TAG";
101 WHEEL="`ls -1 $CI_PROJECT_DIR/wheels/$WHEEL_TYPE/$PY_TAG/*.whl`";
101 test -n "$WHEEL";
102 test -n "$WHEEL";
102 fi
103 fi
103 - if test -n "$WHEEL"; then
104 - if test -n "$WHEEL"; then
@@ -141,7 +142,6 test-c:
141
142
142 variables:
143 variables:
143 WHEEL_TYPE: "c"
144 WHEEL_TYPE: "c"
144 BUILD_PY_ID: "cp311-cp311"
145 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
145 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
146 TEST_HGTESTS_ALLOW_NETIO: "1"
146 TEST_HGTESTS_ALLOW_NETIO: "1"
147
147
@@ -177,7 +177,6 test-3.8-c:
177 variables:
177 variables:
178 PYTHON: python3.8
178 PYTHON: python3.8
179 WHEEL_TYPE: "c"
179 WHEEL_TYPE: "c"
180 BUILD_PY_ID: "cp38-cp38"
181 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
180 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
182 TEST_HGTESTS_ALLOW_NETIO: "1"
181 TEST_HGTESTS_ALLOW_NETIO: "1"
183 needs:
182 needs:
@@ -193,7 +192,6 test-3.12-c:
193 variables:
192 variables:
194 PYTHON: python3.12
193 PYTHON: python3.12
195 WHEEL_TYPE: "c"
194 WHEEL_TYPE: "c"
196 BUILD_PY_ID: "cp312-cp312"
197 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
195 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
198 TEST_HGTESTS_ALLOW_NETIO: "1"
196 TEST_HGTESTS_ALLOW_NETIO: "1"
199 needs:
197 needs:
@@ -216,7 +214,6 test-3.13-c:
216 variables:
214 variables:
217 PYTHON: python3.13
215 PYTHON: python3.13
218 WHEEL_TYPE: "c"
216 WHEEL_TYPE: "c"
219 BUILD_PY_ID: "cp313-cp313"
220 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
217 RUNTEST_ARGS: " --blacklist /tmp/check-tests.txt"
221 TEST_HGTESTS_ALLOW_NETIO: "1"
218 TEST_HGTESTS_ALLOW_NETIO: "1"
222 needs:
219 needs:
General Comments 0
You need to be logged in to leave comments. Login now