forked from GNOME/evince
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
94 lines (75 loc) · 2.06 KB
/
.gitlab-ci.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
stages:
- build
- deploy
variables:
BUNDLE: "org.gnome.Evince.flatpak"
master:
image: registry.gitlab.gnome.org/gnome/evince/master-amd64:latest
stage: build
script:
- ./autogen.sh --enable-debug --enable-nautilus
- make
artifacts:
when: on_failure
paths:
- config.log
expire_in: 2 days
meson:
image: registry.gitlab.gnome.org/gnome/evince/master-amd64:latest
stage: build
when: manual
script:
- meson _build
- ninja -C _build all libevdocument-doc libevview-doc evince-doc
artifacts:
when: on_failure
paths:
- _build/meson-logs/meson-log.txt
expire_in: 2 days
meson-gtk-doc:
image: registry.gitlab.gnome.org/gnome/evince/master-amd64:latest
stage: build
when: manual
script:
- meson -Dgtk_doc=true _build
- ninja -C _build all libevdocument-doc libevview-doc evince-doc
artifacts:
when: on_failure
paths:
- _build/meson-logs/meson-log.txt
expire_in: 2 days
gtk-doc:
image: registry.gitlab.gnome.org/gnome/evince/master-amd64:latest
stage: build
when: manual
script:
- ./autogen.sh --enable-nautilus --enable-gtk-doc
- make
artifacts:
when: on_failure
paths:
- config.log
expire_in: 2 days
flatpak:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: build
variables:
MANIFEST_PATH: "build-aux/flatpak/org.gnome.Evince.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
FLATPAK_MODULE: "evince"
MESON_ARGS: "-Dnautilus=false -Dgtk_doc=false"
APP_ID: "org.gnome.Evince"
extends: .flatpak
review:
stage: deploy
dependencies:
- flatpak
extends: .review
stop_review:
stage: deploy
extends: .stop_review
nightly:
dependencies:
- flatpak
extends: .publish_nightly