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
|
2023-08-06 10:10:54 -04:00
|
|
|
cmake -S . -B build-cmake
|
2023-08-04 17:35:25 -04:00
|
|
|
- build: |
|
|
|
|
cd astra
|
2023-08-06 10:10:54 -04:00
|
|
|
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
|
|
|
|
flatpak build-bundle export astra.flatpak zone.xiv.astra --runtime-repo=https://flathub.org/repo/flathub.flatpakrep
|
2023-08-04 17:35:25 -04:00
|
|
|
artifacts:
|
2023-08-06 10:10:54 -04:00
|
|
|
- astra/build-cmake/bin/astra
|
|
|
|
- astra/astra.flatpak
|