diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index ed7c622..3281641 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -22,10 +22,15 @@ jobs: steps: - uses: actions/checkout@v4 - name: Build Visual Studio - # if: ${{ matrix.generate == 'Visual Studio 17 2022' }} + if: ${{ matrix.generate == 'Visual Studio 17 2022' }} 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: Build Ninja + if: ${{ matrix.generate == 'Ninja' }} + run: | + cmake -S . -B "build/${{ matrix.arch }}" -G "${{ matrix.generate }}" -DCMAKE_TOOLCHAIN_FILE="${{ matrix.toolchain }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }} -DUSE_STANDALONE=${{ matrix.standalone }} + cmake --build ./build/${{ matrix.arch }} # - name: Setup Ninja # if: ${{ matrix.generate == 'Ninja' }} # uses: ilammy/msvc-dev-cmd@v1