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 6, 2023
1 parent 1f1bb78 commit d14484f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,19 @@ esac
--host="$HOST" $EXTRAFLAGS

# We have set "-j<n>" in MAKEFLAGS.
make
build_exit_code=0
make || build_exit_code=$?
if [ $build_exit_code -ne 0 ]; then
case $CC in
*snapshot*)
make 2>&1 >/dev/null | grep "internal compiler error:"
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 d14484f

Please sign in to comment.