mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-24 05:17:46 +00:00
Add flatpak CI
This commit is contained in:
parent
9c28f2a8fd
commit
5a68a5948f
2 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,7 @@ packages:
|
|||
- unshield
|
||||
- gamemode
|
||||
- reuse
|
||||
- flatpak-builder
|
||||
sources:
|
||||
- https://git.sr.ht/~redstrate/astra
|
||||
tasks:
|
||||
|
@ -25,5 +26,12 @@ tasks:
|
|||
- build: |
|
||||
cd astra
|
||||
cmake --build build
|
||||
- flatpak: |
|
||||
cd astra
|
||||
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install --user -y runtime/org.kde.Platform/x86_64/5.15-22.08 runtime/org.kde.Sdk/x86_64/5.15-22.08 org.freedesktop.Sdk.Extension.rust-stable/x86_64/22.08
|
||||
flatpak-builder build --user --force-clean zone.xiv.astra.yml
|
||||
flatpak build-export export --user build
|
||||
flatpak build-bundle export --user astra.flatpak zone.xiv.astra --runtime-repo=https://flathub.org/repo/flathub.flatpakrep
|
||||
artifacts:
|
||||
- astra/build/bin/astra
|
|
@ -31,6 +31,7 @@ modules:
|
|||
sources:
|
||||
- type: git
|
||||
url: https://github.com/frankosterfeld/qtkeychain.git
|
||||
branch: main
|
||||
- name: quazip
|
||||
buildsystem: cmake-ninja
|
||||
sources:
|
||||
|
|
Loading…
Add table
Reference in a new issue