From cfab5241257cf2ed4722bd35ec8e7da2b1810ea0 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Fri, 25 Feb 2022 01:39:02 +0900 Subject: [PATCH] VS2019 seems gone. Use VS2022. --- .github/workflows/c-cpp.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e7517dc..6cf54a8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -47,7 +47,8 @@ jobs: sudo apt-get install -y mingw-w64 x86_64-w64-mingw32-g++ -std=c++11 -o loader_example loader_example.cc - # Windows(x64) + Visual Studio 2019 build + # Windows(x64) + Visual Studio 2022 build + # Assume windows-latest have VS2022 installed build-windows-msvc: runs-on: windows-latest @@ -63,7 +64,7 @@ jobs: mkdir build cd build cmake --help - cmake -G "Visual Studio 16 2019 Win64" -A x64 -DTINYGLTF_BUILD_LOADER_EXAMPLE=On -DTINYGLTF_BUILD_GL_EXAMPLES=Off -DTINYGLTF_BUILD_VALIDATOR_EXAMPLE=On .. + cmake -G "Visual Studio 17 2022" -A x64 -DTINYGLTF_BUILD_LOADER_EXAMPLE=On -DTINYGLTF_BUILD_GL_EXAMPLES=Off -DTINYGLTF_BUILD_VALIDATOR_EXAMPLE=On .. cd .. - name: Build run: cmake --build build --config Release