Invoke CTest directly

This allows passing it arguments directly, like `--verbose` here
(which is more appropriate for CI use).
This commit is contained in:
ISSOtm
2026-03-18 03:11:08 +01:00
committed by Eldred Habert
parent c93f377bfb
commit 2e66515096

View File

@@ -83,7 +83,7 @@ jobs:
- name: Run tests using CTest - name: Run tests using CTest
if: matrix.buildsys == 'cmake' if: matrix.buildsys == 'cmake'
run: | run: |
cmake --build build --target test ctest --test-dir build --verbose
macos-static: macos-static:
runs-on: macos-14 runs-on: macos-14
@@ -372,4 +372,4 @@ jobs:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DTESTS_RUN_EXTERNAL=OFF -DTESTS_OS_NAME=freebsd cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=c++ -DTESTS_RUN_EXTERNAL=OFF -DTESTS_OS_NAME=freebsd
cmake --build build -j4 --verbose cmake --build build -j4 --verbose
cmake --install build --verbose cmake --install build --verbose
cmake --build build --target test ctest --test-dir build --verbose