1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-05-08 03:27:45 +00:00
astra/.build.yml

38 lines
1 KiB
YAML
Raw Normal View History

2023-08-04 17:35:25 -04:00
image: archlinux
packages:
- cmake
- extra-cmake-modules
- qt5-quickcontrols2
- kirigami2
- kcoreaddons
- ki18n
- kconfig
- qtkeychain-qt5
- quazip-qt5
- rust
- unshield
- gamemode
2023-08-05 22:15:39 -04:00
- reuse
2023-08-06 09:46:50 -04:00
- flatpak-builder
2023-08-04 17:35:25 -04:00
sources:
- https://git.sr.ht/~redstrate/astra
tasks:
2023-08-05 22:15:39 -04:00
- reuse: |
cd astra
reuse lint
2023-08-04 17:35:25 -04:00
- configure: |
cd astra
cmake -S . -B build-cmake
2023-08-04 17:35:25 -04:00
- build: |
cd astra
cmake --build build-cmake
2023-08-06 09:46:50 -04:00
- 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
2023-08-06 09:58:25 -04:00
flatpak build-export export build
2023-08-06 10:24:40 -04:00
flatpak build-bundle export astra.flatpak zone.xiv.astra --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
2023-08-04 17:35:25 -04:00
artifacts:
- astra/build-cmake/bin/astra
- astra/astra.flatpak