... | ... | @@ -68,7 +68,36 @@ variables: |
|
|
|
|
|
## Flatpak
|
|
|
|
|
|
Description about how to use flatpak builds.
|
|
|
Gitlab CI currently allows building flatpak on experimental basis. Overall recipe for the flatpak builds is subject to change. Currently `fiesta-flatpak` runner is locked to selected projects, if you want to enable the flatpak builds ping @bshah.
|
|
|
|
|
|
Add `binary-flatpak.yml` template in the your `.gitlab-ci.yml`
|
|
|
|
|
|
```yaml
|
|
|
include:
|
|
|
- https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/binary-flatpak.yml
|
|
|
```
|
|
|
|
|
|
Declare the global variable `BUNDLE` with filename.
|
|
|
|
|
|
```yaml
|
|
|
variables:
|
|
|
BUNDLE: org.kde.juk.flatpak
|
|
|
```
|
|
|
|
|
|
Add a new flatpak job, which extends the `.flatpak`
|
|
|
|
|
|
```yaml
|
|
|
flatpak:
|
|
|
extends: .flatpak
|
|
|
variables:
|
|
|
MANIFEST_URL: https://cgit.kde.org/flatpak-kde-applications.git/plain/org.kde.juk.json
|
|
|
MANIFEST_PATH: org.kde.juk.json
|
|
|
APP_ID: org.kde.juk
|
|
|
FLATPAK_MODULE: juk
|
|
|
CMAKE_ARGS: -DENABLE_TESTING=OFF
|
|
|
```
|
|
|
|
|
|
Currently template downloads the flatpak manifest from the `flatpak-kde-applications` repository. This is subject to change, and in future we might ship flatpak manifest in repo directly.
|
|
|
|
|
|
## Todo
|
|
|
|
... | ... | |