summaryrefslogtreecommitdiff
path: root/.gitlab/os-windows.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-28 09:59:39 -0500
committerBrad King <brad.king@kitware.com>2023-02-28 10:12:03 -0500
commit05531a7c4e499847b7d174fb7697e840c223bc98 (patch)
tree9b1eb901b6ba36b964ad8c608806f7c4e50adbd6 /.gitlab/os-windows.yml
parent5ab92d8e71a13a6b81ad7a5b7d635f8af8e5c31d (diff)
downloadcmake-05531a7c4e499847b7d174fb7697e840c223bc98.tar.gz
gitlab-ci: add pre-build and post-build steps to Windows
Apply the approach from commit 372ce5bffe (ci: add pre-build and post-build steps to Linux, 2022-12-05, v3.26.0-rc1~225^2~1) to build jobs on Windows.
Diffstat (limited to '.gitlab/os-windows.yml')
-rw-r--r--.gitlab/os-windows.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml
index 24db8023ce..ca5af43fb9 100644
--- a/.gitlab/os-windows.yml
+++ b/.gitlab/os-windows.yml
@@ -358,8 +358,10 @@
- Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
- sccache --start-server
- sccache --show-stats
+ - (& "$pwsh" -File ".gitlab/ci/pre_build.ps1")
- ctest -VV -S .gitlab/ci/ctest_configure.cmake
- ctest -VV -S .gitlab/ci/ctest_build.cmake
+ - (& "$pwsh" -File ".gitlab/ci/post_build.ps1")
- sccache --show-stats
- sccache --stop-server