Skip to content

Commit

Permalink
ci: Ignore internal errors of snapshot compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Nov 7, 2023
1 parent 1f1bb78 commit 5a8db10
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,20 @@ esac
--host="$HOST" $EXTRAFLAGS

# We have set "-j<n>" in MAKEFLAGS.
make
build_exit_code=0
make > make.log 2>&1 || build_exit_code=$?
cat make.log
if [ $build_exit_code -ne 0 ]; then
case $CC in
*snapshot*)
grep -e "internal compiler error:" -e "PLEASE submit a bug report" make.log
return $?;
;;
*)
return 1;
;;
esac
fi

# Print information about binaries so that we can see that the architecture is correct
file *tests* || true
Expand Down

0 comments on commit 5a8db10

Please sign in to comment.