aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-07-24 09:27:48 -0700
committerEric Anholt <[email protected]>2019-07-25 08:56:49 -0700
commitdd3d0b2897b8e7874a6b1958e1c097150c5b2996 (patch)
tree5c38966e85b7b68b2e0b21c94c21ffd88ce7f6e4
parentf68b98738750e5a526fd801824592b70cc6d8ce5 (diff)
gitlab-ci: Only keep the build logs as artifacts.
On a build failure, we were tarring up the whole ccache directory, build.ninja, build products, etc. This was over 400MB compressed on a recent early meson-main build failure, which fd.o then has to hang on to for 4 weeks. The build logs are probably the interesting part, are potentially useful regardless ("how did CI's build flags differ from mine?"), and are <500k uncompressed on my personal meson build. Reviewed-by: Michel Dänzer <[email protected]>
-rw-r--r--.gitlab-ci.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a43e69c00e4..a8a16f6c1fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,8 +61,11 @@ debian:
paths:
- ccache
artifacts:
- when: on_failure
- untracked: true
+ when: always
+ paths:
+ - _build/meson-logs/*.txt
+ # scons:
+ - _build/*/config.log
variables:
CCACHE_COMPILERCHECK: "content"
# Use ccache transparently, and print stats before/after