summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-28 15:11:36 -0400
committerBrad King <brad.king@kitware.com>2020-05-29 07:15:16 -0400
commit0d5a1fd6e2edb4960c4c515c38ba58943ad06d50 (patch)
tree5b7b76977057df8c70fd76de05941cd3127ea9ce /.gitlab-ci.yml
parent25b63e06a174a2037958515cba167a0e0a926612 (diff)
downloadcmake-0d5a1fd6e2edb4960c4c515c38ba58943ad06d50.tar.gz
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-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f4c4490097..d797955439 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -117,7 +117,8 @@
variables:
CMAKE_CONFIGURATION: windows_vs2019_x64_ninja
VCVARSALL: "${VS160COMNTOOLS}\\..\\..\\VC\\Auxiliary\\Build\\vcvarsall.bat"
- VCVARSPLATFORM: x64
+ VCVARSPLATFORM: "x64"
+ VCVARSVERSION: "14.25"
.windows_vs2019_x64: &windows_vs2019_x64
extends: .windows
@@ -126,6 +127,7 @@
CMAKE_CONFIGURATION: windows_vs2019_x64
CMAKE_GENERATOR: "Visual Studio 16 2019"
CMAKE_GENERATOR_PLATFORM: "x64"
+ CMAKE_GENERATOR_TOOLSET: "v142,version=14.25"
.linux_builder_tags: &linux_builder_tags
tags:
@@ -145,12 +147,15 @@
- cmake # Since this is a bare runner, pin to a project.
- macos
- shell
+ - xcode-11.3
.windows_builder_tags: &windows_builder_tags
tags:
- cmake # Since this is a bare runner, pin to a project.
- windows
- shell
+ - vs2019
+ - msvc-19.25
.before_script_unix: &before_script_unix
- .gitlab/ci/cmake.sh