[glib/wip/hadess/installed-tests] ci: Run installed-tests on Fedora



commit 5e69cf93af6d2d0e9f4870de2cb24530ecbe4f7b
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Nov 15 11:59:00 2019 +0100

    ci: Run installed-tests on Fedora
    
    Run installed-tests on a Fedora system.

 .gitlab-ci.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ec1e53e8..22a3f21c9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,33 @@ debian-stable-x86_64:
       - "_build/meson-logs"
       - "_build/${CI_JOB_NAME}-report.xml"
 
+installed-tests:
+  image: registry.gitlab.gnome.org/gnome/glib/fedora:v4
+  stage: build
+  except:
+    - tags
+  before_script:
+    - dnf install -y gnome-desktop-testing
+  script:
+    - meson ${MESON_COMMON_OPTIONS}
+            --werror
+            --prefix=/usr --libdir=/usr/lib64
+            -Dfam=true
+            -Dinstalled_tests=true
+            _build
+    - ninja -C _build install
+    - gnome-desktop-testing-runner glib
+  artifacts:
+    reports:
+      junit: "_build/${CI_JOB_NAME}-report.xml"
+    name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
+    when: always
+    paths:
+      - "_build/config.h"
+      - "_build/glib/glibconfig.h"
+      - "_build/meson-logs"
+      - "_build/${CI_JOB_NAME}-report.xml"
+
 G_DISABLE_ASSERT:
   image: registry.gitlab.gnome.org/gnome/glib/fedora:v4
   stage: build


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