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



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

    g.gitlab-ci: also build with meson

 .gitlab-ci.yml | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec3ded9..0818b90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,8 @@
 stages:
   - build
 
-build-ubuntu:
+.before_script_template: &ubuntu_before_script
   image: ubuntu:devel
-  stage: build
   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]