diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5887315 --- /dev/null +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file