diff options
author | Brad King <brad.king@kitware.com> | 2023-04-05 14:44:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-04-05 14:47:32 (GMT) |
commit | 3f1a1bad76c7ab7f5ebb8757fe2902607d167492 (patch) | |
tree | f65d18f5d5feb98892fff74f74a570b3219728f3 /.gitlab/ci/env_windows_vs2022_x64_jom.ps1 | |
parent | e2cf20e58c1e5c96c977d647460cdcce92abeb57 (diff) | |
download | CMake-3f1a1bad76c7ab7f5ebb8757fe2902607d167492.zip CMake-3f1a1bad76c7ab7f5ebb8757fe2902607d167492.tar.gz CMake-3f1a1bad76c7ab7f5ebb8757fe2902607d167492.tar.bz2 |
ci: De-duplicate Windows test script for JOM job
Move job-specific setup to an environment script.
Diffstat (limited to '.gitlab/ci/env_windows_vs2022_x64_jom.ps1')
-rwxr-xr-x | .gitlab/ci/env_windows_vs2022_x64_jom.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 b/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 new file mode 100755 index 0000000..c933421 --- /dev/null +++ b/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 @@ -0,0 +1,4 @@ +Invoke-Expression -Command .gitlab/ci/jom.ps1 +$pwdpath = $pwd.Path +Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\jom;$env:PATH" +Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 |