~comcloudway/melon

29faa3ef3ed1cf483e1457e809b33fc0b5734512 — Jakob Meier 17 days ago d70fff2 flatpak-beta
Build aarch64 bundle
1 files changed, 8 insertions(+), 1 deletions(-)

M .builds/flatpak-nightly.yml
M .builds/flatpak-nightly.yml => .builds/flatpak-nightly.yml +8 -1
@@ 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