Try to convince github actions to build all jobs instead of stopping on first fail
This commit is contained in:
parent
6b60df69f6
commit
4be0b4083c
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@ -34,6 +34,7 @@ jobs:
|
||||
run: |
|
||||
${{matrix.install}}
|
||||
cmake -E make_directory ${{runner.workspace}}/build
|
||||
if: always()
|
||||
|
||||
- name: Configure
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
@ -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
.github/workflows/macos.yml
vendored
4
.github/workflows/macos.yml
vendored
@ -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
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@ -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.
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user