[gvfs/wip/oholy/gnome-build-meta: 3/4] ci: Add gnome-build-meta integration



commit 20f0297a6b1f17b33afcb99a0908cbb5e68027e8
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Jan 16 12:59:23 2019 +0100

    ci: Add gnome-build-meta integration
    
    Recently, several patches had to be reverted because of too old meson
    version in gnome-build-meta. Let's add gnome-build-meta job to prevent
    similar problems in the future. The job is based .gitlab-ci.yml from
    gnome-build-meta repository. I made some experiments to run it from
    our Docker image including pregenerated buildstream cache, but it was
    unexpectedly slower and also made the image too big. I am making the
    job manual, because is quite slow and also it is not necessary to run
    it always.

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e59cb90..85f7d50b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,24 @@ fedora:
         - meson build --werror
         - ninja -C build
 
+gnome-build-meta:
+    image: buildstream/buildstream-fedora:master-123-abef70fe
+    before_script:
+        - pip3 uninstall -y buildstream
+        - git clone https://gitlab.com/BuildStream/buildstream.git
+        - git -C buildstream/ checkout 10abe77fe8d77385d86f225b503d9185f4ef7f3a
+        - pip3 install buildstream/
+        - git clone https://gitlab.com/BuildStream/bst-external.git
+        - git -C bst-external/ checkout 0.8.0-0-g762ea216b751bf89ac15350e1cb98542963bbf33
+        - pip3 install bst-external/
+        - git clone --depth 1 https://gitlab.gnome.org/GNOME/gnome-build-meta.git
+    script:
+        - cd gnome-build-meta
+        - bst build --track-all sdk/gvfs.bst
+        - bst workspace open --no-checkout sdk/gvfs.bst ..
+        - bst --no-interactive build sdk/gvfs.bst
+    when: manual
+
 update-image:
     image: docker:latest
     services:


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