diff options
Diffstat (limited to '.gitlab/ci')
-rwxr-xr-x | .gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 | 5 | ||||
-rwxr-xr-x | .gitlab/ci/ninja-env.ps1 | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 b/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 index e5f538ab89..44bb09037d 100755 --- a/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 +++ b/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 @@ -2,9 +2,6 @@ if ("$env:CMAKE_CI_NIGHTLY" -eq "true") { . ".gitlab/ci/ispc-env.ps1" } -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/ninja.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$env:PATH" -ninja --version +. .gitlab/ci/ninja-env.ps1 Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 diff --git a/.gitlab/ci/ninja-env.ps1 b/.gitlab/ci/ninja-env.ps1 new file mode 100755 index 0000000000..67c7036e5e --- /dev/null +++ b/.gitlab/ci/ninja-env.ps1 @@ -0,0 +1,4 @@ +$pwdpath = $pwd.Path +& "$pwsh" -File ".gitlab/ci/ninja.ps1" +Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$env:PATH" +Write-Host "ninja version: $(ninja --version)" |