add build manifest

This commit is contained in:
Morgan McMillian 2021-02-26 12:29:28 -08:00
parent 4f30269207
commit 5694c93f91

28
.builds/flatpak.yml Normal file
View file

@ -0,0 +1,28 @@
image: ubuntu/next
packages:
- flatpak
- flatpak-builder
- qemu-user-static
sources:
- https://git.sr.ht/~thrrgilag/squeak
triggers:
- action: email
condition: always
to: Morgan McMillian <thrrgilag@dreamfall.space>
tasks:
- prep: |
flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak --user install -y --noninteractive flathub org.gnome.Platform/x86_64/3.38 org.gnome.Sdk/x86_64/3.38
flatpak --user install -y --noninteractive flathub org.gnome.Platform/aarch64/3.38 org.gnome.Sdk/aarch64/3.38
- x86_64: |
cd squeak
flatpak-builder _flatpak-x86_64 --repo=_repo-x86_64 --arch=x86_64 --force-clean --ccache dev.thrrgilag.squeak.json
flatpak build-bundle _repo-x86_64 dev.thrrgilag.squeak.x86_64.flatpak dev.thrrgilag.squeak
- aarch64: |
cd squeak
flatpak-builder _flatpak-aarch64 --repo=_repo-aarch64 --arch=aarch64 --force-clean --ccache dev.thrrgilag.squeak.json
flatpak build-bundle --arch=aarch64 _repo-aarch64 dev.thrrgilag.squeak.aarch64.flatpak dev.thrrgilag.squeak
artifacts:
- squeak/dev.thrrgilag.squeak.x86_64.flatpak
- squeak/dev.thrrgilag.squeak.aarch64.flatpak