From 014dce27f4ee0a5c43de7c0eb59c692348ccf145 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Sat, 30 May 2020 02:16:41 +0900 Subject: [PATCH] Add VS2019 build job. --- .github/workflows/c-cpp.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3776ba1..2c45220 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -47,6 +47,26 @@ 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 + build-windows-msvc: + + runs-on: windows-latest + name: Build for Windows(x64, MSVC) + + # Use system installed cmake + # https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Configure + run: | + mkdir build + cd build + cmake -G "Visual Studio 16 2019" -DTINYGLTF_BUILD_EXAMPLES=Off .. + cd .. + - name: Build + run: cmake --build build --config Release + build-linux: