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




commit 77ea4fba03d820a97aee57e18e14c0b0eb93e01a
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)

 .gitlab-ci.yml | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 624342955..1166ac0f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,26 +1,38 @@
-include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
+include:
+  - project: 'gnome/citemplates'
+    file: 'flatpak/flatpak_ci_initiative.yml'
 
 variables:
-    GIT_SUBMODULE_STRATEGY: normal
+    APP_ID: "org.gnome.NautilusDevel"
     BUNDLE: "nautilus-dev.flatpak"
+    RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
+    MANIFEST_PATH: "build-aux/flatpak/org.gnome.Nautilus.yml"
+    FLATPAK_MODULE: "nautilus"
+    GIT_SUBMODULE_STRATEGY: normal
 
 stages:
     - image
+    - build
     - test
     - deploy
 
-flatpak:
-    extends: '.flatpak'
-    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"
+build-flatpak:
+    extends: '.flatpak@x86_64'
+    stage: build
+    before_script: []
+
+build-flatpak-aarch64:
+    extends: '.flatpak@aarch64'
+    stage: build
+    before_script: []
 
 nightly:
     extends: '.publish_nightly'
-    dependencies:
-        - flatpak
+    needs: ['build-flatpak']
+
+nightly-aarch64:
+    extends: '.publish_nightly'
+    needs: ['build-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]