[ci] keep the configure log too

Sometimes the CI fails on configure, make sure we capture the log file
for those cases.
4 jobs for better-flags-for-ci in 19 minutes and 11 seconds