Fix Windows MSVC unit tests build by setting up developer environment

The `cl` compiler was not in PATH because the Visual Studio developer
environment needs to be set up before calling MSVC tools directly.
Added `ilammy/msvc-dev-cmd@v1` action to configure the environment.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Syoyo Fujita
2026-02-05 04:08:50 +09:00
parent 52a453120b
commit 3d5453ecd0

View File

@@ -148,6 +148,9 @@ jobs:
run: |
.\build\Release\loader_example.exe models\Cube\Cube.gltf
- name: Setup MSVC environment
uses: ilammy/msvc-dev-cmd@v1
- name: Build unit tests
run: |
cd tests