summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-04-30 14:01:56 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-04-30 18:26:15 +0100
commit0b609b53fae4f6fefe42bf34638ce12af8af01cd (patch)
tree1b304f625e1dfe29ec60abb3c24e587a57b92606 /.gitlab-ci.yml
parent992e7cee3441a4df7f1a573d1549c4325c81bf06 (diff)
downloadglib-0b609b53fae4f6fefe42bf34638ce12af8af01cd.tar.gz
ci: Add a debian-stable job
So we can test ancient toolchains.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
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