From b6d5e2a280409f41c9b72538d8f4b47887876041 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Wed, 22 May 2024 10:47:52 +0800 Subject: [PATCH] add --output-on-failure to cmake test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a4dc60e..2c8cc933 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,4 +216,4 @@ jobs: - uses: hendrikmuhs/ccache-action@v1.2 - run: cmake -Bbuild -DBUILD_DEPS=ON -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - run: cmake --build build --parallel $(nproc) - - run: ctest --test-dir build --parallel $(nproc) + - run: ctest --test-dir build --output-on-failure --parallel $(nproc)