[gnome-build-meta/jjardon/robjh/icicle] .gitlab-ci: Add RISC-V jobs




commit 49a6261c7f2273044316bba34083d38bff057dfe
Author: Javier Jardón <jjardon gnome org>
Date:   Tue Oct 12 16:05:26 2021 +0100

    .gitlab-ci: Add RISC-V jobs

 .gitlab-ci.yml      | 18 +++++++++++++++++-
 .gitlab-ci/arch.yml |  8 ++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 271e35a6f..a84d457e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -118,7 +118,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 boards/raspberrypi-4/image.bst vm/repo-devel.bst iso/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 vm/repo-devel.bst iso/image.bst iso/tarball.bst
   - echo $CI_JOB_ID > track-job.id
   retry: 2
   # only run on branches targeting master
@@ -145,6 +145,10 @@ build-aarch64:
   - .build-template
   - .aarch64
 
+build-riscv:
+  extends:
+  - .build-template
+  - .riscv
 
 generate-deploy-config:
   extends:
@@ -282,6 +286,18 @@ raspberrypi-4-image:
   variables:
     IMAGE: boards/raspberrypi-4/image.bst
 
+riscv-icicle-image:
+  extends:
+  - .manual-image-template
+  - .riscv
+  needs:
+  - job: 'track'
+    optional: true
+  - job: 'build-riscv'
+    artifacts: false
+  variables:
+    IMAGE: iso/tarball.bst
+
 iso-installer-x86_64:
   extends:
   - .manual-image-template
diff --git a/.gitlab-ci/arch.yml b/.gitlab-ci/arch.yml
index b8e798ab5..dafb8951c 100644
--- a/.gitlab-ci/arch.yml
+++ b/.gitlab-ci/arch.yml
@@ -41,3 +41,11 @@ variables:
   - gnome-build-meta
   variables:
     ARCH: arm
+
+.riscv:
+  image: "${DOCKER_AMD64}"
+  tags:
+  - riscv
+  - gnome-build-meta
+  variables:
+    ARCH: riscv64


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