From 405156637d32b87b3d58b3b2914f24fa44451009 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 12 Apr 2024 17:10:38 +0100 Subject: ci: Expose Meson and test logs as artifacts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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" -- cgit v1.2.3