mirror of
https://github.com/gbdev/rgbds.git
synced 2026-03-25 06:13:03 +00:00
Invoke CTest directly
This allows passing it arguments directly, like `--verbose` here (which is more appropriate for CI use).
This commit is contained in:
4
.github/workflows/testing.yml
vendored
4
.github/workflows/testing.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user