ci: De-duplicate Windows test script for NMake job
Move job-specific setup to an environment script.
This commit is contained in:
parent
3f1a1bad76
commit
3532823dd7
@ -1051,7 +1051,7 @@ t:windows-vs2019-x64:
|
||||
t:windows-vs2022-x64-nmake:
|
||||
extends:
|
||||
- .windows_vs2022_x64_nmake
|
||||
- .cmake_test_windows_nmake
|
||||
- .cmake_test_windows_external
|
||||
- .windows_x86_64_tags_concurrent_vs2022
|
||||
- .cmake_junit_artifacts
|
||||
- .run_dependent
|
||||
|
1
.gitlab/ci/env_windows_vs2022_x64_nmake.ps1
Executable file
1
.gitlab/ci/env_windows_vs2022_x64_nmake.ps1
Executable file
@ -0,0 +1 @@
|
||||
Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
|
@ -385,13 +385,3 @@
|
||||
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_standalone.cmake
|
||||
|
||||
interruptible: true
|
||||
|
||||
.cmake_test_windows_nmake:
|
||||
stage: test-ext
|
||||
|
||||
script:
|
||||
- . .gitlab/ci/env.ps1
|
||||
- Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
|
||||
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_standalone.cmake
|
||||
|
||||
interruptible: true
|
||||
|
Loading…
Reference in New Issue
Block a user