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



commit 0cb296c9f822273deb02bef2b4e318bada9736b8
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 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


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