19 lines
675 B
YAML
19 lines
675 B
YAML
stages:
|
|
- build-flatpak
|
|
|
|
flatpak:master:
|
|
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
|
|
stage: build-flatpak
|
|
script:
|
|
- flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
- flatpak-builder --stop-at=popcorntime app sh.popcorntime.PopcornTime.yml
|
|
- flatpak-builder --finish-only --repo=repo app sh.popcorntime.PopcornTime.yml
|
|
- flatpak build-bundle repo PopcornTime.flatpak --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepo sh.popcorntime.PopcornTime
|
|
artifacts:
|
|
paths:
|
|
- PopcornTime.flatpak
|
|
expire_in: 2 days
|
|
cache:
|
|
paths:
|
|
- .flatpak-builder/cache
|