summaryrefslogtreecommitdiffstats
path: root/.gitlab/os-windows.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-21 16:41:14 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-21 16:53:11 (GMT)
commit8efbb0c95fe79f883973b6f36b718f95662c147c (patch)
tree90cbdbaee83dc5d4a12df26d62e21bdfab2ddc09 /.gitlab/os-windows.yml
parent5e5fecb7bca1a351df2c30b63d4d5a7194aa773f (diff)
downloadCMake-8efbb0c95fe79f883973b6f36b718f95662c147c.zip
CMake-8efbb0c95fe79f883973b6f36b718f95662c147c.tar.gz
CMake-8efbb0c95fe79f883973b6f36b718f95662c147c.tar.bz2
ci: download WiX on Windows
Avoid requiring Windows CI hosts to have WiX installed.
Diffstat (limited to '.gitlab/os-windows.yml')
-rw-r--r--.gitlab/os-windows.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml
index 63b8758..6b46573 100644
--- a/.gitlab/os-windows.yml
+++ b/.gitlab/os-windows.yml
@@ -72,9 +72,12 @@
## Windows-specific scripts
.before_script_windows: &before_script_windows
+ - Invoke-Expression -Command .gitlab/ci/wix.ps1
- Invoke-Expression -Command .gitlab/ci/cmake.ps1
- Invoke-Expression -Command .gitlab/ci/ninja.ps1
- $pwdpath = $pwd.Path
+ - Set-Item -Force -Path "env:WIX" -Value "$pwdpath\.gitlab\wix"
+ - (& "$env:WIX\bin\light.exe" -help) | Select -First 1
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$pwdpath\.gitlab\cmake\bin;$env:PATH"
- cmake --version
- ninja --version