Skip to content

Commit

Permalink
Try to convince github actions to build all jobs instead of stopping …
Browse files Browse the repository at this point in the history
…on first fail
  • Loading branch information
YarikTH committed Dec 11, 2020
1 parent 6b60df6 commit 4be0b40
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: |
${{matrix.install}}
cmake -E make_directory ${{runner.workspace}}/build
if: always()

- name: Configure
working-directory: ${{runner.workspace}}/build
Expand All @@ -44,11 +45,14 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.fuzz}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} -DFMT_DOC=OFF \
-DFMT_PEDANTIC=ON -DFMT_WERROR=ON $GITHUB_WORKSPACE
if: always()

- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config ${{matrix.build_type}}
if: always()

- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}}
if: always()
4 changes: 4 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,21 @@ jobs:

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
if: always()

- name: Configure
working-directory: ${{runner.workspace}}/build
run: |
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DFMT_DOC=OFF -DFMT_PEDANTIC=ON -DFMT_WERROR=ON $GITHUB_WORKSPACE
if: always()

- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config ${{matrix.build_type}}
if: always()

- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}}
if: always()
4 changes: 4 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
if: always()

- name: Configure
# Use a bash shell for $GITHUB_WORKSPACE.
Expand All @@ -40,11 +41,14 @@ jobs:
-A ${{matrix.platform}} \
-DCMAKE_CXX_STANDARD=${{matrix.standard}} \
$GITHUB_WORKSPACE
if: always()

- name: Build
working-directory: ${{runner.workspace}}/build
run: cmake --build . --config ${{matrix.build_type}}
if: always()

- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}}
if: always()

0 comments on commit 4be0b40

Please sign in to comment.