mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-13 14:45:38 +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:
|
windows:
|
||||||
name: ${{ format('Windows cxx{0}', matrix.cxx) }}
|
name: ${{ format('Windows cxx{0}', matrix.cxx) }}
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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]
|
cxx: [14, 17, 20]
|
||||||
pp_flag: ["/Zc:preprocessor-", "/Zc:preprocessor"]
|
pp_flag: ["/Zc:preprocessor-", "/Zc:preprocessor"]
|
||||||
steps:
|
steps:
|
||||||
@@ -228,7 +228,7 @@ jobs:
|
|||||||
md build
|
md build
|
||||||
cmake `
|
cmake `
|
||||||
-A x64 `
|
-A x64 `
|
||||||
-G "Visual Studio 16 2019" `
|
-G "Visual Studio 17 2022" `
|
||||||
-D CMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
|
-D CMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" `
|
||||||
-D MSGPACK_BUILD_TESTS=ON `
|
-D MSGPACK_BUILD_TESTS=ON `
|
||||||
-D $CPPVER `
|
-D $CPPVER `
|
||||||
|
Reference in New Issue
Block a user