mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ci: De-duplicate Windows test script for Borland jobs
Move job-specific setup to environment scripts.
This commit is contained in:
3
.gitlab/ci/borland-env.ps1
Executable file
3
.gitlab/ci/borland-env.ps1
Executable file
@@ -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"
|
||||
1
.gitlab/ci/env_windows_borland5.5.ps1
Executable file
1
.gitlab/ci/env_windows_borland5.5.ps1
Executable file
@@ -0,0 +1 @@
|
||||
. .gitlab/ci/borland-env.ps1
|
||||
1
.gitlab/ci/env_windows_borland5.8.ps1
Executable file
1
.gitlab/ci/env_windows_borland5.8.ps1
Executable file
@@ -0,0 +1 @@
|
||||
. .gitlab/ci/borland-env.ps1
|
||||
@@ -408,15 +408,3 @@
|
||||
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_standalone.cmake
|
||||
|
||||
interruptible: true
|
||||
|
||||
.cmake_test_windows_borland:
|
||||
stage: test-ext
|
||||
|
||||
script:
|
||||
- . .gitlab/ci/env.ps1
|
||||
- Invoke-Expression -Command .gitlab/ci/borland.ps1
|
||||
- $pwdpath = $pwd.Path
|
||||
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\bcc\bin;$env:PATH"
|
||||
- build/install/bin/ctest --output-on-failure -V -S .gitlab/ci/ctest_standalone.cmake
|
||||
|
||||
interruptible: true
|
||||
|
||||
Reference in New Issue
Block a user