[gnome-build-meta/jjardon/ci] .gitlab-ci.yml: Add minimal CI



commit 3d23cf51d1d4007e0ce1732ac94b14d113222b73
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Feb 19 16:03:28 2018 +0000

    .gitlab-ci.yml: Add minimal CI

 .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..9166f4c
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+image: buildstream/buildstream-fedora:master-47-e8de57f
+
+variables:
+  GET_SOURCES_ATTEMPTS: 3
+  BST: 'bst --colors'
+  BST_SHA: 'a10ef1a4db25b408841c4b20cec64315cb085b59'
+
+stages:
+  - build
+
+before_script:
+  - git clone https://gitlab.com/BuildStream/buildstream.git
+  # Use specific version of BuildStream
+  - git -C buildstream/ checkout $BST_SHA
+  - pip3 install buildstream
+
+# Store all the downloaded git and ostree repos in the distributed cache.
+# This saves us fetching them from git.baserock.org and further afield
+# on every build.
+.bst_cache: &bst_cache
+  cache:
+    key: bst
+    paths:
+      - "${XDG_CACHE_HOME}/buildstream/sources/"
+
+
+
+bst-build-gnome-core:
+  stage: build
+  dependencies: []
+  script:
+    - ${BST} build core/meta-gnome-core.bst
+  <<: *bst_cache


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