[gnome-build-meta/tpollard/raspi4: 4/4] Add raspberrypi-4 image target to .gitlab-ci.yml



commit 99e9698c8edfb27cbbe333a73f9611427b21d2ba
Author: Tom Pollard <tom pollard codethink co uk>
Date:   Mon May 4 18:15:02 2020 +0100

    Add raspberrypi-4 image target to .gitlab-ci.yml

 .gitlab-ci.yml | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d0317d87..f115ba3d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -200,7 +200,7 @@ track:
   interruptible: true
   script:
   - 'sed -i "s/track-tags: False/track-tags: ${BST_TRACK_TAGS}/" project.conf'
-  - ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst boards/pinebook-pro/image.bst 
boards/rock64/image.bst
+  - ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst boards/pinebook-pro/image.bst 
boards/rock64/image.bst boards/raspberrypi-4/image.bst
   retry: 2
   # only run on branches targeting master
   rules:
@@ -277,6 +277,27 @@ rock64-image:
     artifacts: false
   <<: *aarch64
 
+raspberrypi-4-image:
+  stage: image
+  script:
+    - ${BST_NO_PUSH} --max-jobs $(( $(nproc) / 4 )) -o arch "${ARCH}" build boards/raspberrypi-4/image.bst
+    - ${BST_NO_PUSH} -o arch "${ARCH}" checkout --hardlinks boards/raspberrypi-4/image.bst 
raspberrypi-4-image
+  when: manual
+  allow_failure: true
+  cache: *bst-cache
+  artifacts:
+    when: always
+    paths:
+    - logs
+    - raspberrypi-4-image
+    expire_in: '2 days'
+  needs:
+  - track
+  - job: build-gnome-core-aarch64
+    artifacts: false
+  <<: *aarch64
+
+
 flatpak-prepare:
   stage: prepare_flatpak
   dependencies: []


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