We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f26e0 commit 945c7c5Copy full SHA for 945c7c5
.github/workflows/ci.yml
@@ -23,17 +23,20 @@ jobs:
23
run: |
24
mkdir build
25
cd build
26
- cmake ..
27
- make
28
- continue-on-error: true
+ cmake .. 2>&1 | tee cmake_output.log
+ make 2>&1 | tee make_output.log
29
30
- name: Run tests
31
32
33
- ctest
34
+ ctest 2>&1 | tee ctest_output.log
35
36
- name: Show build logs
37
- if: failure()
+ if: always()
38
39
- cat $(find build -type f -name '*.log')
+ echo "CMake Output:"
+ cat build/cmake_output.log
+ echo "Make Output:"
40
+ cat build/make_output.log
41
+ echo "CTest Output:"
42
+ cat build/ctest_output.log
0 commit comments