Skip to content

Commit 042d653

Browse files
committed
Update workflows
1 parent f316d69 commit 042d653

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ jobs:
4646
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
4747
-S ${{ github.workspace }}/examples
4848
49-
- name: Build
49+
- name: Build examples
5050
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
5151

52-
- name: Run tests
53-
run: ctest --test-dir ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
52+
- name: Run examples
53+
run: ctest --output-on-failure --build-config ${{ matrix.build_type }} --test-dir ${{ steps.strings.outputs.build-output-dir }}

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
4747
-S ${{ github.workspace }}
4848
49-
- name: Build
49+
- name: Build tests
5050
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
5151

5252
- name: Run tests
53-
run: ctest --test-dir ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
53+
run: ctest --output-on-failure --build-config ${{ matrix.build_type }} --test-dir ${{ steps.strings.outputs.build-output-dir }}
5454

5555
lint:
5656
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)