[libwnck/wip/marco/meson-build] Testzzz



commit 89c3df5338b45799896dc81168fbf81516d67269
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Tue Nov 6 20:08:33 2018 -0600

    Testzzz

 .gitlab-ci.yml | 62 +++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 35 insertions(+), 27 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0818b90..3ef634f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,42 +1,50 @@
 stages:
   - build
 
-.before_script_template: &ubuntu_before_script
+.base_build_template: &base_build
+  stage: build
   image: ubuntu:devel
-  before_script:
-    - apt-get update
-    - apt-get install -q -y --no-install-recommends
-                      autoconf-archive
-                      automake
-                      autopoint
-                      build-essential
-                      gettext
-                      libstartup-notification0-dev
-                      docbook-xml
-                      libx11-dev
-                      libxres-dev
-                      libxext-dev
-                      libgtk-3-dev
-                      libglib2.0-dev
-                      libtool
-                      gobject-introspection
-                      libgirepository1.0-dev
-                      gtk-doc-tools
-                      libglib2.0-doc
-                      libgtk-3-doc
-                      meson
+
+.ubuntu_deps_install_template: &ubuntu_deps_install
+    apt-get update &&
+    apt-get install -q -y --no-install-recommends
+      build-essential
+      docbook-xml
+      gettext
+      gobject-introspection
+      gtk-doc-tools
+      libgirepository1.0-dev
+      libglib2.0-dev
+      libglib2.0-doc
+      libgtk-3-dev
+      libgtk-3-doc
+      libstartup-notification0-dev
+      libtool
+      libx11-dev
+      libxext-dev
+      libxres-dev
+
 
 build-ubuntu:
-  stage: build
-  <<: *ubuntu_before_script
+  <<: *base_build
+  before_script:
+    - *ubuntu_deps_install
+    - apt-get install -q -y --no-install-recommends
+        autoconf-archive
+        automake
+        autopoint
   script:
     - ./autogen.sh --enable-gtk-doc=yes
     - make
     - make distcheck
 
 build-ubuntu-meson:
-  stage: build
-  <<: *ubuntu_before_script
+  <<: *base_build
+  before_script:
+    - *ubuntu_deps_install
+    - apt-get install -q -y --no-install-recommends
+        python3-pip
+    - pip3 install meson
   script:
     - meson _build -Denable-gtk-doc=true
     - ninja -C _build


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