summaryrefslogtreecommitdiff
path: root/.gitlab/os-windows.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-10 09:29:29 -0500
committerBrad King <brad.king@kitware.com>2022-11-10 13:24:31 -0500
commit8ba5835c8d77b5d61847eba06feac8cfd6682b45 (patch)
tree0db76a0b7215f3e160c600b32a145f30aac70e41 /.gitlab/os-windows.yml
parentbf2e4a2e857c1e9c9caf73bdf05cc1efc111c196 (diff)
downloadcmake-8ba5835c8d77b5d61847eba06feac8cfd6682b45.tar.gz
ci: Factor out helper to load clang into environment on Windows
Diffstat (limited to '.gitlab/os-windows.yml')
-rw-r--r--.gitlab/os-windows.yml5
1 files changed, 1 insertions, 4 deletions
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml
index 78ebb2e093..6f9c292d54 100644
--- a/.gitlab/os-windows.yml
+++ b/.gitlab/os-windows.yml
@@ -396,10 +396,7 @@
script:
- . .gitlab/ci/env.ps1
- . .gitlab/ci/ninja-env.ps1
- - Invoke-Expression -Command .gitlab/ci/clang.ps1
- - Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
- - $pwdpath = $pwd.Path
- - Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\llvm\bin;$env:PATH"
+ - . .gitlab/ci/clang-env.ps1
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_standalone.cmake
interruptible: true