mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
05531a7c4e
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.
5 lines
226 B
PowerShell
Executable File
5 lines
226 B
PowerShell
Executable File
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName
|
|
if (Test-Path -Path ".gitlab/ci/pre_build_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) {
|
|
. ".gitlab/ci/pre_build_$env:CMAKE_CONFIGURATION.ps1"
|
|
}
|