diff --git a/ci/ci-build.bash b/ci/ci-build.bash index 008338f9a..f82d839fd 100755 --- a/ci/ci-build.bash +++ b/ci/ci-build.bash @@ -95,6 +95,9 @@ autoconf ccache -z BUILD_START=$SECONDS "$MAKE" -j "$NPROC" -k +# Second make to get failures at bottom, to avoid needing to +# scroll up GitHub action logs (to see first errors half-way up) +"$MAKE" -j "$NPROC" -k ccache -svv ccache --evict-older-than "$((SECONDS - BUILD_START + 60))s" ccache -svv