blob: 711923889187e616cae2d0feaf1572746fe39d99 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
image: fedora:rawhide
stages:
- build
- test
- deploy
variables:
DEPENDENCIES: accountsservice-devel cheese-libs-devel chrpath clutter-gtk-devel colord-devel
colord-gtk-devel cups-devel desktop-file-utils docbook-style-xsl gdk-pixbuf2-devel
gettext git glib2-devel gnome-bluetooth-libs-devel gnome-desktop3-devel
gnome-online-accounts-devel gnome-settings-daemon-devel grilo-devel
gsettings-desktop-schemas-devel gtk3-devel ibus-devel intltool libcanberra-devel
libgtop2-devel libgudev-devel libnma-devel libpwquality-devel libsmbclient-devel
libsoup-devel libwacom-devel libX11-devel libXi-devel libxml2-devel libxslt
libXxf86misc-devel meson ModemManager-glib-devel NetworkManager-libnm-devel
polkit-devel pulseaudio-libs-devel upower-devel
before_script:
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
##
# Stage: Build
#
# Checks if GNOME Control Center is properly building and installing. This is the
# most important stage of the CI, and no MR should ever be merged if it breaks
# any of them.
##
build:
stage: build
script:
- meson . _build
- ninja -C _build
- ninja -C _build install
##
# Stage: Test
#
# Runs the unit tests.
##
test:
stage: test
script:
- meson . _build
- ninja -C _build
- ninja -C _build install
- meson test -C _build --verbose --no-stdsplit
##
# Stage: Deploy
#
# Checks if the released version is in a good shape.
##
deploy:
stage: deploy
script:
- meson . _build
- ninja -C _build
- meson test -C _build
- ninja dist -C _build
only:
- tags
|