Skip to content

Commit 86c4c54

Browse files
committed
Get all logs in artifact
1 parent 2e7915c commit 86c4c54

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

.github/jobs/data/qodana_cpp.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,27 @@ bootstrap: |
2828
}
2929
3030
set -x
31-
#section_start "Install extra packages"
32-
apt-get update
33-
apt-get install python3-pip libcgroup-dev clang-19 -y
34-
pip3 install compiledb --break-system-packages
35-
#section_end
31+
echo "Real start" | tee -a logs/bootstrap
32+
section_start "Install extra packages"
33+
apt-get update | tee -a logs/bootstrap
34+
apt-get install python3-pip libcgroup-dev clang-19 -y | tee -a logs/bootstrap
35+
pip3 install compiledb --break-system-packages | tee -a logs/bootstrap
36+
section_end
3637
#section_start "Setup simple configure script"
37-
make configure
38+
make configure | tee -a logs/bootstrap
3839
#section_end
3940
#section_start "Configure with clang"
40-
CPP="/usr/bin/clang-19 -E"
41-
CC=/usr/bin/clang-19
42-
CXX=/usr/bin/clang++-19
43-
export CC
44-
export CPP
45-
export CXX
46-
./configure --with-domjudge-user=qodana
41+
CPP="/usr/bin/clang-19 -E" | tee -a logs/bootstrap
42+
CC=/usr/bin/clang-19 | tee -a logs/bootstrap
43+
CXX=/usr/bin/clang++-19 | tee -a logs/bootstrap
44+
export CC | tee -a logs/bootstrap
45+
export CPP | tee -a logs/bootstrap
46+
export CXX | tee -a logs/bootstrap
47+
./configure --with-domjudge-user=qodana | tee -a logs/bootstrap
4748
#section_end
4849
#section_start "Capture the commands"
49-
compiledb make judgehost
50+
compiledb make judgehost | tee -a logs/bootstrap
5051
#section_end
5152
#section_start "Show the resulting compilation commands"
52-
cat compile_commands.json
53+
cat compile_commands.json | tee -a logs/bootstrap
5354
#section_end

0 commit comments

Comments
 (0)