[gcr/wip/nielsdg/initial-gtask: 23/23] ci: Add artifacts to all jobs




commit 9aa308b47a8c6cf34fe286e468090d7d79d25e3d
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Nov 15 17:01:10 2020 +0100

    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.

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3d56cad8..db8f0595 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]