[libwnck/wip/marco/meson-build] .gitlab-ci: also build with meson



commit 2bfaaddab081f7446fd29fa8ed2a30fe7fddce88
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Fri Sep 21 04:44:03 2018 -0500

    .gitlab-ci: also build with meson

 .gitlab-ci.yml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec3ded9..5d4627b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,8 @@
 stages:
   - build
 
-build-ubuntu:
-  image: ubuntu:devel
-  stage: build
+.before_script_template: &ubuntu_before_script
+  image: ubuntu:rolling
   before_script:
     - apt-get update
     - apt-get install -q -y --no-install-recommends
@@ -25,8 +24,19 @@ build-ubuntu:
                       gtk-doc-tools
                       libglib2.0-doc
                       libgtk-3-doc
+                      meson
+
+build-ubuntu:
+  stage: build
+  <<: *ubuntu_before_script
   script:
-    - ./autogen.sh
+    - ./autogen.sh --enable-gtk-doc=yes
     - make
     - make distcheck
 
+build-ubuntu-meson:
+  stage: build
+  <<: *ubuntu_before_script
+  script:
+    - meson _build -Denable-gtk-doc=true
+    - ninja -C _build


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