summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNiels De Graef <nielsdegraef@gmail.com>2020-11-15 17:01:10 +0100
committerNiels De Graef <nielsdegraef@gmail.com>2021-01-12 22:13:53 +0000
commit9aa308b47a8c6cf34fe286e468090d7d79d25e3d (patch)
treea145d5c2821b270e5e14a81792ebfafe481ee8b5 /.gitlab-ci.yml
parentbcd6cba55710ea7b9dee0741a418d2fc3a47e127 (diff)
downloadgcr-9aa308b47a8c6cf34fe286e468090d7d79d25e3d.tar.gz
ci: Add artifacts to all jobs
That way, if we have an issue during one of these jobs, we can check for example the meson logs to see what went wrong.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d56cad..db8f059 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,12 @@ fedora:asan:
- meson _build -Dsanitize=address
- eval `dbus-launch --sh-syntax`
- meson test -C _build
+ artifacts:
+ name: "gcr-asan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ when: always
+ paths:
+ - "_build/config.h"
+ - "_build/meson-logs"
fedora:ubsan:
image: fedora:latest
@@ -55,6 +61,12 @@ fedora:ubsan:
- meson _build -Dsanitize=undefined
- eval `dbus-launch --sh-syntax`
- meson test -C _build
+ artifacts:
+ name: "gcr-ubsan-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ when: always
+ paths:
+ - "_build/config.h"
+ - "_build/meson-logs"
fedora:coverage:
image: fedora:latest
@@ -74,6 +86,12 @@ fedora:coverage:
name: "gcr-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths:
- _build/meson-logs/coveragereport/
+ artifacts:
+ name: "gcr-coverage-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+ when: always
+ paths:
+ - "_build/config.h"
+ - "_build/meson-logs"
pages:
stage: deploy