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:
@@ -226,7 +226,7 @@ compilations() {
|
|||||||
ret=$?
|
ret=$?
|
||||||
} > $dlog/$logfile 2>&1
|
} > $dlog/$logfile 2>&1
|
||||||
# Print the errors and warnings for CI purposes
|
# 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"
|
check_warnings "$dlog/$logfile"
|
||||||
if [[ $ret -eq 0 ]]; then
|
if [[ $ret -eq 0 ]]; then
|
||||||
echo_success "$targets compiled"
|
echo_success "$targets compiled"
|
||||||
|
|||||||
Reference in New Issue
Block a user