summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci
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
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')
-rwxr-xr-x.gitlab/ci/borland-env.ps13
-rwxr-xr-x.gitlab/ci/env_windows_borland5.5.ps11
-rwxr-xr-x.gitlab/ci/env_windows_borland5.8.ps11
3 files changed, 5 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"
diff --git a/.gitlab/ci/env_windows_borland5.5.ps1 b/.gitlab/ci/env_windows_borland5.5.ps1
new file mode 100755
index 0000000..0d2e46b
--- /dev/null
+++ b/.gitlab/ci/env_windows_borland5.5.ps1
@@ -0,0 +1 @@
+. .gitlab/ci/borland-env.ps1
diff --git a/.gitlab/ci/env_windows_borland5.8.ps1 b/.gitlab/ci/env_windows_borland5.8.ps1
new file mode 100755
index 0000000..0d2e46b
--- /dev/null
+++ b/.gitlab/ci/env_windows_borland5.8.ps1
@@ -0,0 +1 @@
+. .gitlab/ci/borland-env.ps1