From 29faa3ef3ed1cf483e1457e809b33fc0b5734512 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sun, 1 Sep 2024 17:24:05 +0200 Subject: [PATCH] Build aarch64 bundle --- .builds/flatpak-nightly.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.builds/flatpak-nightly.yml b/.builds/flatpak-nightly.yml index bc22f13..60dff88 100644 --- a/.builds/flatpak-nightly.yml +++ b/.builds/flatpak-nightly.yml @@ -6,6 +6,9 @@ packages: # build dependencies - flatpak-builder - appstream-compose + # cross-compilation support + - qemu-aarch64 + - qemu-openrc # upload dependencies - s3fs-fuse environment: @@ -29,13 +32,17 @@ tasks: cp -r $repo_dir-live $repo_dir - prepare: | flatpak remote-add --user --if-not-exists flathub "https://flathub.org/repo/flathub.flatpakrepo" + flatpak --user remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo + sudo rc-service qemu-binfmt start # XXX: consider signing the build using pgp - build-dependencies: | cd melon - flatpak-builder build --user --install-deps-from=flathub --disable-rofiles-fuse --disable-updates --force-clean --repo=$repo_dir flatpak/$app_id.yml + flatpak-builder build --user --disable-rofiles-fuse --disable-updates --install-deps-from=flathub-beta --force-clean --repo=$repo_dir flatpak/$app_id.yml + flatpak-builder build --arch=aarch64 --user --disable-rofiles-fuse --disable-updates --install-deps-from=flathub-beta --force-clean --repo=$repo_dir flatpak/$app_id.yml - build-bundle: | cd melon flatpak build-bundle $repo_dir $repo_dir/$app_id.flatpak --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo" $app_id + flatpak build-bundle --arch=aarch64 $repo_dir $repo_dir/$app_id--arch64.flatpak --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo" $app_id - build-update-repo: | cd melon flatpak build-update-repo --generate-static-deltas --prune $repo_dir -- 2.38.5