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




commit b13a169756b9ce4528998e70d4004c2df9543329
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 430e06b8..bed27b3e 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:
@@ -56,7 +64,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]