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



commit feca3511a160afcc7ccf1c4253f1810a8559aa21
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 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ec1e53e8..da7f7fa0a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,34 @@ 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:
+    - sudo 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
+    - 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]