summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-03-10 14:19:08 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2018-03-10 14:19:08 +0000
commite7184e799d020d28e7fd61a8d23d1d1a178db30f (patch)
tree452408a6f81bc854eac7885699f4c514e712c944 /.gitlab-ci.yml
parent222db5d1a5b846eca7432b25d1fbf4cf61672c56 (diff)
downloadgobject-introspection-e7184e799d020d28e7fd61a8d23d1d1a178db30f.tar.gz
Add CI environment for gobject-introspection
Based on the GLib and GTK equivalent CI environment, with a Docker container used to run the build.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..5f598b9b
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,19 @@
+image: ebassi/gitlab-gi:latest
+
+stages:
+ - build
+
+build-job:
+ stage: build
+ script:
+ - meson --prefix /usr --libdir /usr/lib64 --buildtype debug --werror -Dcairo=true _build .
+ - cd _build
+ - ninja
+ - meson test
+ except:
+ - tags
+ artifacts:
+ when: on_failure
+ name: "glib-_${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"