[nautilus/zbrown/aarch64: 7/7] ci: build for aarch64




commit 18a8269b1e9e1622698f5d500ce1184267dabb46
Author: Zander Brown <zbrown gnome org>
Date:   Fri Aug 26 18:16:39 2022 +0100

    ci: build for aarch64
    
    Rebase on the current flatpak-ci style/guidelines, thus enabling aarch64
    builds (and publshing nautilus on gnome-nightly for aarch64)
    
    https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak

 .gitlab-ci.yml | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 624342955..04f7afff8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,25 +2,33 @@ include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_
 
 variables:
     GIT_SUBMODULE_STRATEGY: normal
-    BUNDLE: "nautilus-dev.flatpak"
 
 stages:
     - image
     - test
     - deploy
 
-flatpak:
-    extends: '.flatpak'
+.vars-devel:
     variables:
         MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus.yml"
         FLATPAK_MODULE: "nautilus"
         RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
         APP_ID: "org.gnome.NautilusDevel"
+        BUNDLE: "nautilus-dev.flatpak"
 
-nightly:
+flatpak@x86_64:
+    extends: ['.flatpak@x86_64', '.vars-devel']
+
+flatpak@aarch64:
+    extends: ['.flatpak@aarch64', '.vars-devel']
+
+nightly@x86_64:
+    extends: '.publish_nightly'
+    needs: ['flatpak@x86_64']
+
+nightly@aarch64:
     extends: '.publish_nightly'
-    dependencies:
-        - flatpak
+    needs: ['flatpak@aarch64']
 
 style check:
     image: registry.gitlab.gnome.org/gnome/nautilus:latest


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