fix(ci): adding leading lines and increasing visibility for building errors

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2025-01-03 09:42:49 +01:00
parent 70933edd19
commit 1b9fcc9858

View File

@@ -226,7 +226,7 @@ compilations() {
ret=$?
} > $dlog/$logfile 2>&1
# Print the errors and warnings for CI purposes
grep -E -A3 "warning:|error:" $dlog/$logfile || true
grep -E -A5 -B5 "warning:|error:| Error " $dlog/$logfile || true
check_warnings "$dlog/$logfile"
if [[ $ret -eq 0 ]]; then
echo_success "$targets compiled"