[gnome-build-meta/alatiera/push-master: 7/7] .gitlab-ci.yml: build flatpak runtimes in a different stage



commit 5ce9019e74bad915f73714e31380a5e13452df15
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Sep 27 20:30:52 2018 +0100

    .gitlab-ci.yml: build flatpak runtimes in a different stage

 .gitlab-ci.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dabe107..60e7c30 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,7 @@ variables:
 stages:
   - track
   - build
+  - flatpak
 
 
 # Store all the downloaded git and ostree repos in the cache.
@@ -98,6 +99,18 @@ before_script:
   stage: build
   script:
     - ${BST} -o arch "${ARCH}" build core.bst flatpak-runtimes.bst
+  <<: *cache
+  # Store artifacts so we can inspect build failures
+  artifacts:
+    when: always
+    paths:
+      - logs
+      - project.refs
+
+.flatpak-template: &flatpak
+  stage: flatpak
+  script:
+    - ${BST} -o arch "${ARCH}" build flatpak-runtimes.bst
 
     # checkout the runtimes
     - |
@@ -183,3 +196,35 @@ build-gnome-core-arm:
   variables:
     ARCH: arm
   allow_failure: true
+
+flatpak-x86_64:
+  image: buildstream/buildstream-fedora:master-113-499df6a5
+  <<: *flatpak
+  tags:
+    - do
+  variables:
+    ARCH: x86_64
+
+flatpak-i386:
+  image: buildstream/buildstream-fedora:master-113-499df6a5
+  <<: *flatpak
+  tags:
+    - do
+  variables:
+    ARCH: i386
+
+flatpak-aarch64:
+  image: buildstream/buildstream-fedora:aarch64-master-113-499df6a5
+  <<: *flatpak
+  tags:
+    - aarch64
+  variables:
+    ARCH: aarch64
+
+flatpak-arm:
+  image: buildstream/buildstream-fedora:aarch64-master-113-499df6a5
+  <<: *flatpak
+  tags:
+    - armhf
+  variables:
+    ARCH: arm


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