summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@gnome.org>2024-04-12 17:10:38 +0100
committerPhilip Withnall <pwithnall@gnome.org>2024-04-12 17:10:38 +0100
commit405156637d32b87b3d58b3b2914f24fa44451009 (patch)
treefad77558679bda3bb206088e35c9b1be5bf66b15
parent5b3e32d09418637e5ce8581bf4e7e71aa573ef89 (diff)
ci: Expose Meson and test logs as artifacts
Otherwise we have no hope of ever debugging CI failures. Even with them, I’m probably doomed to waste the rest of my life on this. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
-rw-r--r--.gitlab-ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 333e1be..9798ae4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,3 +30,14 @@ build:meson:
- meson setup _build
- meson compile -C _build
- meson test -C _build --suite shared-mime-info
+ artifacts:
+ reports:
+ junit:
+ - _build/meson-logs/testlog.junit.xml
+ - _build/meson-logs/testlog-*.junit.xml
+ name: "xdgmime-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ when: always
+ expire_in: 1 week
+ paths:
+ - "_build/config.h"
+ - "_build/meson-logs"