Skip to content

Commit

Permalink
ci: Set up initial continuous integration
Browse files Browse the repository at this point in the history
Use the newly added flatpak manifest to verify that the project keeps
building successfully in a standardized environment. On success, the
built bundle is exposed as artifact for easy testing.
  • Loading branch information
fmuellner authored and JonathanKang committed Apr 23, 2019
1 parent 691312d commit b3d68dd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'

variables:
GIT_SUBMODULE_STRATEGY: normal
BUNDLE: "gnome-logs.flatpak"

stages:
- test
- deploy

flatpak devel:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: test
variables:
MANIFEST_PATH: "org.gnome.Logs.json"
MESON_ARGS: "-Dtests=true"
FLATPAK_MODULE: "gnome-logs"
RUNTIME_REPO: "https://sdk.gnome.org/gnome.flatpakrepo"
APP_ID: "org.gnome.Logs"
extends: .flatpak

review:
stage: deploy
dependencies:
- 'flatpak devel'
extends: '.review'

stop_review:
stage: deploy
extends: '.stop_review'

0 comments on commit b3d68dd

Please sign in to comment.