summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 522832ea7b02ea21c177aeb54f579eaa56a7abf3 (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
36
37
38
39
40
41
42
43
44
45
46
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'

variables:
  APP_ID: "org.gnome.Contacts.Devel"
  BUNDLE: 'gnome-contacts.flatpak'
  FLATPAK_MODULE: "gnome-contacts"
  MANIFEST_PATH: 'build-aux/flatpak/org.gnome.Contacts.Devel.json'
  RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"

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"

i18n:
  stage: review
  script:
    - ./.gitlab/ci/check-potfiles.sh

flatpak:
  image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master
  extends: '.flatpak@x86_64'

flatpak@aarch64:
  extends: '.flatpak@aarch64'

nightly:
  extends: '.publish_nightly'
  needs: [ 'flatpak' ]

nightly aarch64:
  extends: '.publish_nightly'
  needs: ['flatpak@aarch64']