[evince/remove_libhandy_configure_options] gitlab-ci: fix pipeline error libhandy cannot find vapigen




commit d402b95b9e3837b6e066bb2b427a360e17149db5
Author: Nelson Benítez León <nbenitezl gmail com>
Date:   Sat Jun 26 00:24:09 2021 -0400

    gitlab-ci: fix pipeline error libhandy cannot find vapigen
    
    Add following configure options for our libhandy subproject:
    
    -Dlibhandy:examples=false -Dlibhandy:tests=false
    -Dlibhandy:vapi=false -Dlibhandy:glade_catalog=disabled
    -Dlibhandy:introspection=disabled
    
    Because Evince does not need any of those features from libhandy
    and they may cause issues when building, like the one mentioned
    where libhandy cannot find vapigen (and it's a waste to install
    it in our ubuntu ci image as Evince does not use vala bindings
    nor any of the other features).

 .gitlab-ci.yml | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d3400e4..6ad92851 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,11 @@ master:
     when: manual
 
     script:
-        - meson _build
+        - >
+            meson 
+            -Dlibhandy:examples=false -Dlibhandy:tests=false -Dlibhandy:vapi=false 
+            -Dlibhandy:glade_catalog=disabled -Dlibhandy:introspection=disabled 
+            _build
         - ninja -C _build all
 
     artifacts:
@@ -27,7 +31,11 @@ meson:
     stage: build
 
     script:
-        - meson _build
+        - >
+            meson 
+            -Dlibhandy:examples=false -Dlibhandy:tests=false -Dlibhandy:vapi=false 
+            -Dlibhandy:glade_catalog=disabled -Dlibhandy:introspection=disabled 
+            _build
         - ninja -C _build all
 
     artifacts:
@@ -42,7 +50,11 @@ meson-gtk-doc:
     when: manual
 
     script:
-        - meson -Dgtk_doc=true _build
+        - >
+            meson -Dgtk_doc=true 
+            -Dlibhandy:examples=false -Dlibhandy:tests=false -Dlibhandy:vapi=false 
+            -Dlibhandy:glade_catalog=disabled -Dlibhandy:introspection=disabled 
+            _build
         - ninja -C _build all 
 
     artifacts:


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