From 225554076a3081059ec5f8c8492aee1fbdf81b5a Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 10 Mar 2020 13:53:44 +0100 Subject: .gitlab-ci.yml: include meson-logs in artifacts --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8f20d0..e7f3ec9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,10 @@ fedora:Werror: - meson _build -Dwerror=true -Dc_args=-Wno-error=deprecated-declarations - eval `dbus-launch --sh-syntax` - meson test -C _build + artifacts: + when: on_failure + paths: + - _build/meson-logs/testlog.txt fedora:asan: image: fedora:latest @@ -32,6 +36,10 @@ fedora:asan: - meson _build -Dsanitize=address - eval `dbus-launch --sh-syntax` - meson test -C _build + artifacts: + when: on_failure + paths: + - _build/meson-logs/testlog.txt fedora:ubsan: image: fedora:latest @@ -46,6 +54,10 @@ fedora:ubsan: - meson _build -Dsanitize=undefined - eval `dbus-launch --sh-syntax` - meson test -C _build + artifacts: + when: on_failure + paths: + - _build/meson-logs/testlog.txt fedora:coverage: image: fedora:latest @@ -64,6 +76,7 @@ fedora:coverage: coverage: '/^\s+lines.+:\s+([\d.]+\%)\s+/' artifacts: name: "libsecret-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" + when: on_success paths: - _build/meson-logs/coveragereport/ # https://github.com/linux-test-project/lcov/issues/58 -- cgit v1.2.1