Updated CI windows image to 2022

This commit is contained in:
Takatoshi Kondo
2025-07-04 11:28:04 +09:00
parent 39aec8fe75
commit 3b0fc097f0

View File

@@ -195,11 +195,11 @@ jobs:
windows:
name: ${{ format('Windows cxx{0}', matrix.cxx) }}
runs-on: windows-2019
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
# MSVC2019 only supports /std:c++14, /std:c++17 and /std:c++latest
# MSVC2022 only supports /std:c++14, /std:c++17 and /std:c++latest
cxx: [14, 17, 20]
pp_flag: ["/Zc:preprocessor-", "/Zc:preprocessor"]
steps:
@@ -228,7 +228,7 @@ jobs:
md build
cmake `
-A x64 `
-G "Visual Studio 16 2019" `
-G "Visual Studio 17 2022" `
-D CMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
-D MSGPACK_BUILD_TESTS=ON `
-D $CPPVER `