mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-12 22:36:56 +02:00
Updated CI windows image to 2022
This commit is contained in:
6
.github/workflows/gha.yml
vendored
6
.github/workflows/gha.yml
vendored
@@ -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 `
|
||||
|
Reference in New Issue
Block a user