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



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

    ci: Add gnome-build-meta job

 .gitlab-ci.yml | 28 +++++++++++++++++++++++++---
 1 file changed, 25 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c8cafd35..388deeec 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,29 @@
-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
+        - cd gnome-build-meta
+        - bst build --track-all sdk/gvfs.bst
+    script:
+        - cd gnome-build-meta
+        - 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]