summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-04-05 14:45:44 (GMT)
committerBrad King <brad.king@kitware.com>2023-04-05 14:47:49 (GMT)
commit3532823dd740ea876e0362f84be9c97405e19205 (patch)
treede861ffbeb697e2d47bebf8acab4acb90ae74a70 /.gitlab
parent3f1a1bad76c7ab7f5ebb8757fe2902607d167492 (diff)
downloadCMake-3532823dd740ea876e0362f84be9c97405e19205.zip
CMake-3532823dd740ea876e0362f84be9c97405e19205.tar.gz
CMake-3532823dd740ea876e0362f84be9c97405e19205.tar.bz2
ci: De-duplicate Windows test script for NMake job
Move job-specific setup to an environment script.
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci/env_windows_vs2022_x64_nmake.ps11
-rw-r--r--.gitlab/os-windows.yml10
2 files changed, 1 insertions, 10 deletions
diff --git a/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1 b/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1
new file mode 100755
index 0000000..62463cd
--- /dev/null
+++ b/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1
@@ -0,0 +1 @@
+Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml
index b915d4b..aa817d0 100644
--- a/.gitlab/os-windows.yml
+++ b/.gitlab/os-windows.yml
@@ -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