summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-11 12:11:17 -0500
committerBrad King <brad.king@kitware.com>2021-11-11 13:12:27 -0500
commit190d2b5d556a7c90be975ff39993d0bcfb6bf9dc (patch)
treeb57bf771ec8adf56c098e14d592eb12830a245a6 /.gitlab
parentac32794983dbd84f6e0ed6c8a92268f58b3fed88 (diff)
downloadcmake-190d2b5d556a7c90be975ff39993d0bcfb6bf9dc.tar.gz
gitlab-ci: Update Windows jobs to VS 2022
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/configure_windows_vs2022_x64.cmake (renamed from .gitlab/ci/configure_windows_vs2019_x64.cmake)0
-rw-r--r--.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake (renamed from .gitlab/ci/configure_windows_vs2019_x64_ninja.cmake)0
-rw-r--r--.gitlab/ci/download_qt.cmake3
-rw-r--r--.gitlab/os-windows.yml28
4 files changed, 16 insertions, 15 deletions
diff --git a/.gitlab/ci/configure_windows_vs2019_x64.cmake b/.gitlab/ci/configure_windows_vs2022_x64.cmake
index f6ece57c88..f6ece57c88 100644
--- a/.gitlab/ci/configure_windows_vs2019_x64.cmake
+++ b/.gitlab/ci/configure_windows_vs2022_x64.cmake
diff --git a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake b/.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake
index e1ae81e3d3..e1ae81e3d3 100644
--- a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake
+++ b/.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake
diff --git a/.gitlab/ci/download_qt.cmake b/.gitlab/ci/download_qt.cmake
index 3990430135..5940a285e7 100644
--- a/.gitlab/ci/download_qt.cmake
+++ b/.gitlab/ci/download_qt.cmake
@@ -18,7 +18,8 @@ if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows")
set(msvc_year "2015")
set(qt_abi "win64_msvc${msvc_year}_64")
elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2017" OR
- "$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2019")
+ "$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2019" OR
+ "$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2022")
set(qt_platform "windows_x86")
set(msvc_year "2019")
set(qt_abi "win64_msvc${msvc_year}_64")
diff --git a/.gitlab/os-windows.yml b/.gitlab/os-windows.yml
index 91d62ac648..a1194331bf 100644
--- a/.gitlab/os-windows.yml
+++ b/.gitlab/os-windows.yml
@@ -31,45 +31,45 @@
CMAKE_CI_BUILD_TYPE: Release
CTEST_NO_WARNINGS_ALLOWED: 1
-.windows_vs2019_x64_ninja:
+.windows_vs2022_x64_ninja:
extends: .windows_ninja
variables:
- CMAKE_CONFIGURATION: windows_vs2019_x64_ninja
- VCVARSALL: "${VS160COMNTOOLS}\\..\\..\\VC\\Auxiliary\\Build\\vcvarsall.bat"
+ CMAKE_CONFIGURATION: windows_vs2022_x64_ninja
+ VCVARSALL: "${VS170COMNTOOLS}\\..\\..\\VC\\Auxiliary\\Build\\vcvarsall.bat"
VCVARSPLATFORM: "x64"
- VCVARSVERSION: "14.29.30133"
+ VCVARSVERSION: "14.30.30705"
### External testing
-.windows_vs2019_x64:
+.windows_vs2022_x64:
extends: .windows
variables:
- CMAKE_CONFIGURATION: windows_vs2019_x64
- CMAKE_GENERATOR: "Visual Studio 16 2019"
+ CMAKE_CONFIGURATION: windows_vs2022_x64
+ CMAKE_GENERATOR: "Visual Studio 17 2022"
CMAKE_GENERATOR_PLATFORM: "x64"
- CMAKE_GENERATOR_TOOLSET: "v142,version=14.29.30133"
+ CMAKE_GENERATOR_TOOLSET: "v143,version=14.30.30705"
CMAKE_CI_NIGHTLY_IGNORE_DEPS: "true"
## Tags
-.windows_tags_nonconcurrent_vs2019:
+.windows_tags_nonconcurrent_vs2022:
tags:
- cmake # Since this is a bare runner, pin to a project.
- windows
- shell
- - vs2019
- - msvc-19.29-16.11
+ - vs2022
+ - msvc-19.30
- nonconcurrent
-.windows_tags_concurrent_vs2019:
+.windows_tags_concurrent_vs2022:
tags:
- cmake # Since this is a bare runner, pin to a project.
- windows
- shell
- - vs2019
- - msvc-19.29-16.11
+ - vs2022
+ - msvc-19.30
- concurrent
## Windows-specific scripts