[hitori/ci] ci: Add GitLab CI
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori/ci] ci: Add GitLab CI
- Date: Tue, 19 Feb 2019 16:31:53 +0000 (UTC)
commit bf39aa725349244d8ff99885a7aa285db4298d97
Author: Philip Withnall <withnall endlessm com>
Date: Tue Feb 19 15:58:30 2019 +0000
ci: Add GitLab CI
Signed-off-by: Philip Withnall <withnall endlessm com>
.gitlab-ci.yml | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..499636e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+image: debian:unstable
+
+before_script:
+ - apt update -qq
+ - apt install -y -qq build-essential meson pkg-config gtk-doc-tools
+ libxml2-utils gobject-introspection dbus
+ libglib2.0-dev libgtk-3-dev appstream-util
+ desktop-file-utils lcov gettext
+ - export LANG=C.UTF-8
+
+stages:
+ - build
+
+build-and-test:
+ stage: build
+ script:
+ - meson --buildtype debug --werror _build .
+ - ninja -C _build
+ - ninja -C _build test
+ except:
+ - tags
+ artifacts:
+ when: on_failure
+ name: "hitori-_${CI_COMMIT_REF_NAME}"
+ paths:
+ - "${CI_PROJECT_DIR}/_build/meson-logs"
+
+# FIXME: Run gtkdoc-check when we can. See:
+# https://github.com/mesonbuild/meson/issues/3580
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]