[glib/wip/hadess/add-memory-monitor: 4/6] ci: Run installed-tests on Fedora



commit 8f4ecd84494f6179111adec6dd7ce0f04c48e84d
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 c749448b7..baa9f821b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -110,6 +110,33 @@ installed-tests:
       - "_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]