[nautilus] ci: build for aarch64
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] ci: build for aarch64
- Date: Tue, 30 Aug 2022 22:47:34 +0000 (UTC)
commit c2964d7a56294964d07eafb2564ab4bfeb118b39
Author: Zander Brown <zbrown gnome org>
Date: Tue Aug 30 22:47:33 2022 +0000
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 | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 624342955..64e07df0f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,25 +2,40 @@ 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:
+ #don't build for every, MRs to save resources
+ only:
+ refs:
+ - 'master'
+ - 'main'
+ - $CI_DEFAULT_BRANCH
+
+ 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]