Skip to content

Commit

Permalink
Fix ctest verbose flag -v -> -V
Browse files Browse the repository at this point in the history
ctest replaced the -v alias for -V by --verbose.
-v stopped working with recent versions of ctest.

This commit makes out CI work with both old and new versions
of cmake.
  • Loading branch information
mkannwischer committed Dec 9, 2024
1 parent de0eac3 commit e2f7c55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,25 +136,25 @@ jobs:
rm -rf build
cmake -Bbuild -DCMAKE_BUILD_TYPE=ASAN -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=clang
cmake --build build
ctest -v --test-dir build
ctest -V --test-dir build
- name: Memory Sanitizer MSAN
run: |
rm -rf build
cmake -Bbuild -DCMAKE_BUILD_TYPE=MSAN -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=clang
cmake --build build
ctest -v --test-dir build
ctest -V --test-dir build
- name: Leak Sanitizer LSAN
run: |
rm -rf build
cmake -Bbuild -DCMAKE_BUILD_TYPE=LSAN -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=clang
cmake --build build
ctest -v --test-dir build
ctest -V --test-dir build
- name: Undefined Behavior Sanitizer UBSAN
run: |
rm -rf build
cmake -Bbuild -DCMAKE_BUILD_TYPE=UBSAN -DMAYO_BUILD_TYPE=${{ matrix.mayo_build_type }} -DCMAKE_C_COMPILER=clang
cmake --build build
ctest -v --test-dir build
ctest -V --test-dir build

0 comments on commit e2f7c55

Please sign in to comment.