Skip to content

Commit 945c7c5

Browse files
committed
another attempt
1 parent 21f26e0 commit 945c7c5

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ jobs:
2323
run: |
2424
mkdir build
2525
cd build
26-
cmake ..
27-
make
28-
continue-on-error: true
26+
cmake .. 2>&1 | tee cmake_output.log
27+
make 2>&1 | tee make_output.log
2928
3029
- name: Run tests
3130
run: |
3231
cd build
33-
ctest
34-
continue-on-error: true
32+
ctest 2>&1 | tee ctest_output.log
3533
3634
- name: Show build logs
37-
if: failure()
35+
if: always()
3836
run: |
39-
cat $(find build -type f -name '*.log')
37+
echo "CMake Output:"
38+
cat build/cmake_output.log
39+
echo "Make Output:"
40+
cat build/make_output.log
41+
echo "CTest Output:"
42+
cat build/ctest_output.log

0 commit comments

Comments
 (0)