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



commit f5fd1362cdf32a48e7b9b05c6a96d6b884a2e3e1
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]