diff --git a/.github/workflows/gha.yml b/.github/workflows/gha.yml index 52487dca..6015e17f 100644 --- a/.github/workflows/gha.yml +++ b/.github/workflows/gha.yml @@ -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 `