[gvfs/wip/oholy/gnome-build-meta] ci: Add gnome-build-meta job



commit a1616a88f73e1a6cbe76d87bcab11df08e15d694
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Jan 14 16:24:01 2019 +0100

    ci: Add gnome-build-meta job

 .gitlab-ci.yml | 27 ++++++++++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8cafd35..aca2a016 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,28 @@
-image: registry.gitlab.gnome.org/gnome/gvfs/master:v4
-
-build:
+fedora:
     stage: build
+    image: registry.gitlab.gnome.org/gnome/gvfs/master:v4
     script:
         - meson build --werror
         - ninja -C build
+
+gnome-build-meta:
+    stage: build
+    image: buildstream/buildstream-fedora:master-123-abef70fe
+    cache:
+        key: bst
+        paths:
+            - "${CI_PROJECT_DIR}/cache/buildstream/"
+    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 build sdk/gvfs.bst


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