Add MVSC 32bit build on CI.

This commit is contained in:
Syoyo Fujita
2022-09-18 04:06:22 +09:00
parent 5e3244bd44
commit 7cdaa7debf
2 changed files with 22 additions and 0 deletions

View File

@@ -81,6 +81,22 @@ jobs:
- name: Build
run: cmake --build build --config Release
# Windows(32bit) + Visual Studio 2019 build
build-windows-msvc:
runs-on: windows-latest
name: Build for Windows(Win32, 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-32bit.bat
- name: Build
run: cmake --build build_win32 --config Release
# Android(aarch64) build
build-android:

6
vcsetup-32bit.bat Normal file
View File

@@ -0,0 +1,6 @@
rmdir /s /q build_win32
mkdir build_win32
rem cmake -G "Visual Studio 16 2019" -A Win32 -DTINYUSDZ_WITH_OPENSUBDIV=On -Bbuild_win32 -S.
cmake -G "Visual Studio 17 2022" -A Win32 -DTINYUSDZ_WITH_OPENSUBDIV=On -Bbuild_win32 -S.