diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-08-06 00:35:56 +0200 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2025-08-06 09:16:54 -0600 |
| commit | 75725eaedcb359e60d452363af13cb09d7523a32 (patch) | |
| tree | 4e6cd56f137a154245b73a8b479b945c9ca1bfe3 | |
| parent | 6367a23f29c4ce31517fe4415defa8d3939e0789 (diff) | |
temporally remove toolchain for ninja
| -rw-r--r-- | .github/workflows/windows_build.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index ba37a56..082d2d5 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -16,18 +16,19 @@ jobs: generate: [Visual Studio 17 2022, Ninja] steps: - uses: actions/checkout@v4 - - name: Setup Ninja - if: ${{ matrix.generate == 'Ninja' }} - uses: ashutoshvarma/setup-ninja@master - with: - version: 1.13.1 - uses: ilammy/msvc-dev-cmd@v1 with: arch: x64 - - name: Build + - name: Build Visual Studio + if: ${{ matrix.generate == 'Visual Studio 17 2022' }} run: | cmake -S . -B "build/x64" -G "${{ matrix.generate }}" -T ${{ matrix.toolchain }} -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }} cmake --build ./build/x64 + - name: Build Ninja + if: ${{ matrix.generate == 'Ninja' }} + run: | + cmake -S . -B "build/x64" -G "${{ matrix.generate }}" -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }} + cmake --build ./build/x64 --config ${{ matrix.config }} --parallel 10 - name: Publish packaged artifacts if: ${{ matrix.config == 'Release' }} uses: actions/upload-artifact@v4 |
