Add MSVC 2019 build for GitHub Actions.

Enable OpenSubdiv build by defailt for MSVC.
This commit is contained in:
Syoyo Fujita
2020-04-21 01:23:02 +09:00
parent 64e77a615d
commit 3f667db7bb
3 changed files with 18 additions and 2 deletions

View File

@@ -44,6 +44,22 @@ jobs:
cd build-cross
make VERBOSE=1
# 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: .\vcsetup-2019.bat
- name: Build
run: cmake --build build --config Release
# Build with OpenSubdiv
build-osd:

View File

@@ -1,4 +1,4 @@
rmdir /s /q build
mkdir build
cmake -G "Visual Studio 15 2017" -A x64 -Bbuild -H.
cmake -G "Visual Studio 15 2017" -A x64 -DTINYUSDZ_WITH_OPENSUBDIV=On -Bbuild -H.

View File

@@ -1,4 +1,4 @@
rmdir /s /q build
mkdir build
cmake -G "Visual Studio 16 2019" -A x64 -Bbuild -H.
cmake -G "Visual Studio 16 2019" -A x64 -DTINYUSDZ_WITH_OPENSUBDIV=On -Bbuild -H.