From d6bc8086b2b93332150744af2379a5c2a725dddd Mon Sep 17 00:00:00 2001 From: ado Date: Sat, 29 Jul 2023 15:03:25 +0200 Subject: [PATCH] Fix msvc ci configure step --- .github/workflows/win-latest-msvc.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/win-latest-msvc.yaml b/.github/workflows/win-latest-msvc.yaml index 9607fe0..91de658 100644 --- a/.github/workflows/win-latest-msvc.yaml +++ b/.github/workflows/win-latest-msvc.yaml @@ -17,10 +17,16 @@ on: jobs: ci: + if: >- + ! contains(toJSON(github.event.commits.*.message), '[skip ci]') && + ! contains(toJSON(github.event.commits.*.message), '[skip github]') + defaults: run: shell: bash + runs-on: windows-latest + strategy: fail-fast: false matrix: @@ -29,6 +35,7 @@ jobs: platform: [Win32, x64] name: "${{matrix.vs}}:${{matrix.platform}}:${{matrix.build}}" + steps: - name: checkout uses: actions/checkout@v2 @@ -37,7 +44,7 @@ jobs: run: script/ci_install_deps.sh - name: Configure - run: cmake -S test -B build -G ${{ matrix.vs }} -A ${{ matrix.platform }} -D CMAKE_BUILD_TYPE=${{ matrix.build }} + run: cmake -S test -B build -G "${{ matrix.vs }}" -A ${{ matrix.platform }} -D CMAKE_BUILD_TYPE=${{ matrix.build }} - name: Build run: cmake --build build -j ${{ steps.cores.outputs.count }}