summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/windows_build.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml
index 3281641..4f1d506 100644
--- a/.github/workflows/windows_build.yml
+++ b/.github/workflows/windows_build.yml
@@ -26,6 +26,11 @@ jobs:
run: |
cmake -S . -B "build/${{ matrix.arch }}" -G "${{ matrix.generate }}" -DCMAKE_TOOLCHAIN_FILE="${{ matrix.toolchain }}" -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }} -DUSE_STANDALONE=${{ matrix.standalone }}
cmake --build ./build/${{ matrix.arch }}
+ - name: Setup Variables
+ if: ${{ matrix.generate == 'Ninja' }}
+ uses: ilammy/msvc-dev-cmd@v1
+ with:
+ arch: ${{ matrix.arch }}
- name: Build Ninja
if: ${{ matrix.generate == 'Ninja' }}
run: |