Skip to content

Commit

Permalink
update cmake build and test to show verbose output for failures
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbartholomew committed Feb 7, 2024
1 parent a1f55ac commit 269ab2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
- name: Configure (cmake)
run: |
cmake -B "${{github.workspace}}/build"
- name: Build (make all)
- name: Build (cmake --build)
working-directory: ${{github.workspace}}/build
run: |
cmake --build "${{github.workspace}}/build"
- name: Test (./tests.sh)
cmake --build
- name: Test (ctest))
working-directory: ${{github.workspace}}/build
run: |
cmake --build "${{github.workspace}}/build" --target run_tests
ctest --output-on-failure

0 comments on commit 269ab2c

Please sign in to comment.