-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
93 lines (73 loc) · 2.14 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
include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
variables:
GIT_SUBMODULE_STRATEGY: normal
BUNDLE: "com.frac_tion.teleport.flatpak"
.build_template: &distro_build
script:
- meson _build
- ninja -C _build install
stages:
- flatpak
- build
- review
- deploy
##################
# Fedora Rawhide #
##################
fedora:rawhide:
image: fedora:rawhide
stage: build
before_script:
- dnf install -y gcc meson ninja-build gettext gtk-doc glib2-devel gtk3-devel
gnome-online-accounts-devel libpeas-devel evolution-data-server-devel
rest-devel json-glib-devel
<<: *distro_build
only:
- schedules
- web
- tags
################
# Ubuntu Devel #
################
ubuntu:devel:
image: ubuntu:devel
stage: build
before_script:
# Ubuntu requires running update to fetch metadata and find packges
- apt update
- apt install -y gcc meson gettext gtk-doc-tools libglib2.0-dev git libgtk-3-dev
libgoa-1.0-dev libpeas-dev libecal1.2-dev libedataserver1.2-dev
librest-dev libjson-glib-dev
<<: *distro_build
only:
- schedules
- web
- tags
##################
# Flatpak Bundle #
##################
flatpak:master:
extends: .flatpak
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: flatpak
variables:
MANIFEST_PATH: "com.frac_tion.teleport.json"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
# Replace with your application name, as written in the manifest
FLATPAK_MODULE: "teleport"
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
MESON_ARGS: "-Dtracing=true -Dprofile=development"
APP_ID: "com.frac_tion.teleport"
review:
extends: .review
stage: review
dependencies:
- flatpak:master
stop_review:
extends: .stop_review
stage: review
flatpak:nightly:
extends: .publish_nightly
dependencies:
- flatpak:master