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



commit 6e9ebe8fec323e505cadc999d4476e0c684974fe
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 | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6a5ab5f..0ce6bf4e 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
+  - ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst boards/pinebook-pro/image.bst 
boards/raspberrypi-4/image.bst
   retry: 2
   # only run on branches targeting master
   rules:
@@ -257,6 +257,26 @@ pinebook-pro-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]