~comcloudway/melon

d02788742b8005927a170d126caa191541a17af6 — Jakob Meier 2 months ago 3b3e3df main
ci: build aarch64 nightly flatpak
1 files changed, 6 insertions(+), 0 deletions(-)

M .builds/flatpak-nightly.yml
M .builds/flatpak-nightly.yml => .builds/flatpak-nightly.yml +6 -0
@@ 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,16 @@ tasks:
      cp -r $repo_dir-live $repo_dir
  - prepare: |
      flatpak remote-add --user --if-not-exists flathub "https://flathub.org/repo/flathub.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 --arch=aarch64 --user --install-deps-from=flathub --disable-rofiles-fuse --disable-updates --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-aarch64.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