summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/borland-env.ps1
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-04-05 14:43:03 (GMT)
committerBrad King <brad.king@kitware.com>2023-04-05 14:47:05 (GMT)
commite2cf20e58c1e5c96c977d647460cdcce92abeb57 (patch)
treefa0570d1db7d7dacc41fb175b913537a827256e2 /.gitlab/ci/borland-env.ps1
parent8af9a52d3e9d9965f306099afc288b86db99e748 (diff)
downloadCMake-e2cf20e58c1e5c96c977d647460cdcce92abeb57.zip
CMake-e2cf20e58c1e5c96c977d647460cdcce92abeb57.tar.gz
CMake-e2cf20e58c1e5c96c977d647460cdcce92abeb57.tar.bz2
ci: De-duplicate Windows test script for Borland jobs
Move job-specific setup to environment scripts.
Diffstat (limited to '.gitlab/ci/borland-env.ps1')
-rwxr-xr-x.gitlab/ci/borland-env.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/ci/borland-env.ps1 b/.gitlab/ci/borland-env.ps1
new file mode 100755
index 0000000..b3b532e
--- /dev/null
+++ b/.gitlab/ci/borland-env.ps1
@@ -0,0 +1,3 @@
+Invoke-Expression -Command .gitlab/ci/borland.ps1
+$pwdpath = $pwd.Path
+Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\bcc\bin;$env:PATH"