Add .gitlab-ci.yml
This commit is contained in:
parent
25b0246d82
commit
0d56e75b94
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
stages:
|
||||||
|
- build-flatpak
|
||||||
|
|
||||||
|
flatpak:master:
|
||||||
|
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
|
||||||
|
stage: build-flatpak
|
||||||
|
script:
|
||||||
|
- 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
|
Reference in New Issue
Block a user