summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-28 19:11:36 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-29 11:15:16 (GMT)
commit0d5a1fd6e2edb4960c4c515c38ba58943ad06d50 (patch)
tree5b7b76977057df8c70fd76de05941cd3127ea9ce /.gitlab
parent25b63e06a174a2037958515cba167a0e0a926612 (diff)
downloadCMake-0d5a1fd6e2edb4960c4c515c38ba58943ad06d50.zip
CMake-0d5a1fd6e2edb4960c4c515c38ba58943ad06d50.tar.gz
CMake-0d5a1fd6e2edb4960c4c515c38ba58943ad06d50.tar.bz2
gitlab-ci: pin windows and macos jobs to runners with matching toolsets
The toolsets available on machines hosting shell runners will evolve over time. Require the runners to have tags indicating that they have specific toolsets available. When toolsets are eventually removed from a runner, its tags can then be updated accordingly to prevent pipelines created for old commits from ever running on them.
Diffstat (limited to '.gitlab')
-rwxr-xr-x.gitlab/ci/vcvarsall.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/ci/vcvarsall.ps1 b/.gitlab/ci/vcvarsall.ps1
index a48b511..57d3386 100755
--- a/.gitlab/ci/vcvarsall.ps1
+++ b/.gitlab/ci/vcvarsall.ps1
@@ -1,6 +1,6 @@
$erroractionpreference = "stop"
-cmd /c "`"$env:VCVARSALL`" $VCVARSPLATFORM & set" |
+cmd /c "`"$env:VCVARSALL`" $VCVARSPLATFORM -vcvars_ver=$VCVARSVERSION & set" |
foreach {
if ($_ -match "=") {
$v = $_.split("=")