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
|
- unshield
|
||||||
- gamemode
|
- gamemode
|
||||||
- reuse
|
- reuse
|
||||||
|
- flatpak-builder
|
||||||
sources:
|
sources:
|
||||||
- https://git.sr.ht/~redstrate/astra
|
- https://git.sr.ht/~redstrate/astra
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -25,5 +26,12 @@ tasks:
|
||||||
- build: |
|
- build: |
|
||||||
cd astra
|
cd astra
|
||||||
cmake --build build
|
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:
|
artifacts:
|
||||||
- astra/build/bin/astra
|
- astra/build/bin/astra
|
|
@ -31,6 +31,7 @@ modules:
|
||||||
sources:
|
sources:
|
||||||
- type: git
|
- type: git
|
||||||
url: https://github.com/frankosterfeld/qtkeychain.git
|
url: https://github.com/frankosterfeld/qtkeychain.git
|
||||||
|
branch: main
|
||||||
- name: quazip
|
- name: quazip
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
sources:
|
sources:
|
||||||
|
|
Loading…
Add table
Reference in a new issue