[libnotify/wip/3v1n0/meson: 2/2] .gitlab-ci: build libnotify with both autotools and meson
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libnotify/wip/3v1n0/meson: 2/2] .gitlab-ci: build libnotify with both autotools and meson
- Date: Fri, 11 Jan 2019 13:01:13 +0000 (UTC)
commit f93b445ad604d79011129c26143ee4a78d088c4e
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Wed Nov 7 18:07:58 2018 -0600
.gitlab-ci: build libnotify with both autotools and meson
.gitlab-ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..33804f4
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,42 @@
+stages:
+ - build
+
+.base_build_template: &base_build
+ stage: build
+ image: ubuntu:devel
+
+.ubuntu_deps_install_template: &ubuntu_deps_install
+ apt-get update &&
+ apt-get install -q -y --no-install-recommends
+ gobject-introspection
+ gtk-doc-tools
+ libgdk-pixbuf2.0-dev
+ libgirepository1.0-dev
+ libglib2.0-dev
+ libgtk-3-dev
+ libpopt-dev
+ xmlto
+
+build:ubuntu:autogen:
+ <<: *base_build
+ before_script:
+ - *ubuntu_deps_install
+ - apt-get install -q -y --no-install-recommends
+ gnome-common
+ script:
+ - ./autogen.sh --enable-gtk-doc=yes
+ - make
+ - make distcheck
+
+build:ubuntu:meson:
+ <<: *base_build
+ before_script:
+ - *ubuntu_deps_install
+ - apt-get install -q -y --no-install-recommends
+ ninja-build
+ python3-pip
+ python3-setuptools
+ - pip3 install meson
+ script:
+ - meson _build -Dgtk_doc=true -Ddocbook_docs=enabled -Dtests=true
+ - ninja -C _build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]