[glib/ci-update: 6/6] ci: Add a debian-stable job



commit 0b609b53fae4f6fefe42bf34638ce12af8af01cd
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Apr 30 14:01:56 2019 +0100

    ci: Add a debian-stable job
    
    So we can test ancient toolchains.

 .gitlab-ci.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6a98fea89..d78f8cdb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,6 +53,35 @@ fedora-x86_64:
       - "_build/${CI_JOB_NAME}-report.xml"
       - "_coverage"
 
+debian-stable-x86_64:
+  image: registry.gitlab.gnome.org/gnome/glib/debian-stable:v1
+  stage: build
+  except:
+    - tags
+  script:
+    - meson ${MESON_COMMON_OPTIONS}
+            --werror
+            --default-library=both
+            --prefix=$HOME/glib-installed
+            --libdir=lib
+            -Dsystemtap=true
+            -Ddtrace=true
+            -Dfam=true
+            -Dinstalled_tests=true
+            _build
+    - ninja -C _build
+    - .gitlab-ci/run-tests.sh
+  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:v1
   stage: build


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