[grilo-plugins/sam/grilo-subproject] ci: Use subproject feature to build Grilo



commit 161287b07e268904ba4ee4aa89d3abe641ad42d2
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Sep 29 19:19:07 2019 +0200

    ci: Use subproject feature to build Grilo
    
    We can now rely on Meson to clone and build grilo.git as part
    of the grilo-plugins build, so we can simplify the CI script.

 .gitlab-ci.yml | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e449952b..98d9a10c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,16 +17,10 @@ variables:
 build_stable:
   before_script:
     - dnf update -y --nogpgcheck
-    - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO
-    # Build grilo from git, grilo and grilo-plugins must be in sync
-    - git clone https://gitlab.gnome.org/GNOME/grilo.git
-    - cd grilo
-    - meson . _build --prefix=/usr
-    - ninja -C _build
-    - ninja -C _build install
-    - cd ..
   script:
-    - dnf install -y --nogpgcheck $DEPENDENCIES
+    - dnf install -y --nogpgcheck $DEPENDENCIES_GRILO $DEPENDENCIES
+    # As part of configuring grilo-plugins.git for build, the latest code from
+    # grilo.git will be fetched by Meson and it will be built as a subproject.
     - meson . _build --prefix=/usr
     - ninja -C _build
     - ninja -C _build install


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