diff options
-rw-r--r-- | .github/workflows/cmake-multi-platform.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index cd1e4b7..f717526 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -29,11 +29,6 @@ jobs: - os: macos-latest c_compiler: gcc - defaults: - - if: runner.os == 'Windows' - run: - shell: msys2 {0} - steps: - uses: actions/checkout@v4 @@ -69,7 +64,13 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }} + - name: Build (Windows) + if: runner.os == 'Windows' + shell: msys2 {0} + run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + - name: Build + if: runner.os != 'Windows' run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} # TODO: Write ctests |