Skip to content

Commit

Permalink
update workflows - fail-fast: false; exchange test and example steps
Browse files Browse the repository at this point in the history
  • Loading branch information
guuzaa committed Mar 11, 2024
1 parent 70645ba commit 5021f97
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
name: Build and Test on ${{ matrix.os }} with ${{ matrix.compiler }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
Expand All @@ -28,7 +29,9 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Setup MSVC Dev Environment
if: runner.os == 'Windows'
uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
run: ${{ matrix.install }}
- name: Configure
Expand All @@ -37,9 +40,9 @@ jobs:
- name: Build
run: |
cmake --build ${{ matrix.build-dir }}
- name: Example
run: |
cmake --build ${{ matrix.build-dir }} --target example
- name: Test
run: |
cmake --build ${{ matrix.build-dir }} --target run-tests
cmake --build ${{ matrix.build-dir }} --target run-tests
- name: Example
run: |
cmake --build ${{ matrix.build-dir }} --target example

0 comments on commit 5021f97

Please sign in to comment.