Files
CMake/.gitlab/ci/post_build.ps1
Brad King 05531a7c4e 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.
2023-02-28 10:12:03 -05:00

5 lines
228 B
PowerShell
Executable File

$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName
if (Test-Path -Path ".gitlab/ci/post_build_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) {
. ".gitlab/ci/post_build_$env:CMAKE_CONFIGURATION.ps1"
}