##// END OF EJS Templates
ci: again common element into a `.windows` template...
marmoute -
r53119:b25fc1f2 stable
parent child Browse files
Show More
@@ -275,14 +275,21 check-pytype:
275 # is stored in OLDPWD. Of the added variables, MSYSTEM is crucial to running
275 # is stored in OLDPWD. Of the added variables, MSYSTEM is crucial to running
276 # run-tests.py- it is needed to make run-tests.py generate a `python3` script
276 # run-tests.py- it is needed to make run-tests.py generate a `python3` script
277 # that satisfies the various shebang lines and delegates to `py -3`.
277 # that satisfies the various shebang lines and delegates to `py -3`.
278 .windows-runtests:
278
279 .windows:
279 extends: .all
280 extends: .all
280 when: manual # we don't have any Windows runners anymore at the moment
281 when: manual # we don't have any Windows runners anymore at the moment
281 stage: platform-compat
282 tags:
283 - windows
282 before_script:
284 before_script:
283 - C:/hgdev/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > "${TMP_WORK_DIR}"/check-tests.txt'
285 - C:/hgdev/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > "${TMP_WORK_DIR}"/check-tests.txt'
284 # TODO: find/install cvs, bzr, perforce, gpg, sqlite3
286 # TODO: find/install cvs, bzr, perforce, gpg, sqlite3
287 variables:
288 PYTHON: C:/hgdev/venvs/python39-x64/Scripts/python.exe
285
289
290 .windows-runtests:
291 extends: .windows
292 stage: platform-compat
286 script:
293 script:
287 - echo "Entering script section"
294 - echo "Entering script section"
288 - echo "python used, $Env:PYTHON"
295 - echo "python used, $Env:PYTHON"
@@ -295,21 +302,14 check-pytype:
295
302
296 windows:
303 windows:
297 extends: .windows-runtests
304 extends: .windows-runtests
298 when: manual
299 tags:
300 - windows
301 variables:
305 variables:
302 RUNTEST_ARGS: "-j 8 --blacklist ${TMP_WORK_DIR}/check-tests.txt"
306 RUNTEST_ARGS: "-j 8 --blacklist ${TMP_WORK_DIR}/check-tests.txt"
303 PYTHON: C:/hgdev/venvs/python39-x64/Scripts/python.exe
304
307
305 windows-pyox:
308 windows-pyox:
306 extends: .windows-runtests
309 extends: .windows-runtests
307 when: manual # pyoxidizer builds seem broken with --no-use-pep517
310 when: manual # pyoxidizer builds seem broken with --no-use-pep517
308 tags:
309 - windows
310 variables:
311 variables:
311 RUNTEST_ARGS: "--blacklist ${TMP_WORK_DIR}/check-tests.txt --pyoxidized"
312 RUNTEST_ARGS: "--blacklist ${TMP_WORK_DIR}/check-tests.txt --pyoxidized"
312 PYTHON: C:/hgdev/venvs/python39-x64/Scripts/python.exe
313
313
314 macos:
314 macos:
315 extends: .test-c
315 extends: .test-c
General Comments 0
You need to be logged in to leave comments. Login now