summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: c78259fb24d66cff2f960a03021ace029deb7822 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'

stages:
  - review
  - test
  - deploy

style-check:
  stage: review
  script:
    - ./.gitlab/ci/style-check.sh
  artifacts:
    expire_in: 1 week
    name: "style-check-junit-report"
    when: always
    reports:
      junit: style-check-junit-report.xml
    paths:
      - "style-check-junit-report.xml"


flatpak:
  image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
  variables:
    MANIFEST_PATH: 'build-aux/flatpak/org.gnome.Contacts.Devel.json'
    FLATPAK_MODULE: "gnome-contacts"
    RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
    APP_ID: "org.gnome.Contacts.Devel"
    BUNDLE: 'gnome-contacts.flatpak'
  extends: .flatpak

nightly:
  extends: '.publish_nightly'
  dependencies:
    - 'flatpak'