-
Notifications
You must be signed in to change notification settings - Fork 69
/
.gitlab-ci.yml
79 lines (73 loc) · 1.47 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
image: ubuntu:jammy
stages:
- build
variables:
UBUNTU_DEPS:
build-essential
desktop-file-utils
gettext
pkg-config
libgtk-3-dev
libgtk-4-bin
libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
libgdk-pixbuf2.0-dev
libglib2.0-dev
libgpod-dev
libtotem-plparser-dev
libsoup-3.0-dev
libgudev-1.0-dev
libmtp-dev
libnotify-dev
libbrasero-media3-dev
libsecret-1-dev
libpeas-dev
yelp-tools
x11proto-core-dev
liblircclient-dev
python3-dev
python-gi-dev
libjson-glib-dev
libgrilo-0.3-dev
libxml2-dev
libtdb-dev
python3-pip
ninja-build
check
valac
xvfb
MESON_ARGS:
-Dprefix=/usr
-Dfm_radio=disabled
-Dplugins_python=enabled
-Dlibnotify=enabled
-Dgrilo=enabled
-Dgudev=enabled
-Dipod=enabled
-Dlibsecret=enabled
-Dmtp=enabled
-Dlirc=enabled
-Dsample-plugins=true
-Dapidoc=true
-Dhelp=true
-Dtests=enabled
build:
stage: build
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install -y $UBUNTU_DEPS
- pip3 install meson gi-docgen
script:
- mkdir _build
- cd _build
- meson .. $MESON_ARGS
- ninja
- G_MESSAGES_DEBUG=all xvfb-run -a -s "-screen 0 1024x768x24" meson test
- ninja install
artifacts:
when: always
name: "rhythmbox-${CI_COMMIT_REF_NAME}"
paths:
- "${CI_PROJECT_DIR}/_build/meson-logs"
- _build/doc