-
Notifications
You must be signed in to change notification settings - Fork 39
/
.gitlab-ci.yml
65 lines (62 loc) · 1.5 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
variables:
COMMON_DEPENDENCIES: accountsservice-devel
audit-libs-devel
check-devel
dconf
desktop-file-utils
gettext-devel
git
gobject-introspection-devel
iso-codes-devel
itstool
json-glib-devel
keyutils-libs-devel
libattr-devel
libgudev-devel
libdmx-devel
libselinux-devel
libtool
meson
nss-devel
pam-devel
plymouth-devel
redhat-rpm-config
systemd
systemd-devel
which
yelp-devel
COMMON_BUILD_OPTIONS: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --libdir=/usr/lib64 -Dpam-prefix=/etc -Drun-dir=/run/gdm -Dudev-dir=/lib/udev/rules.d -Ddefault-path=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin -Dprofiling=true -Dplymouth=enabled -Dselinux=enabled
stages:
- build
build-fedora:
image: fedora:40
stage: build
before_script:
- dnf -y install
${COMMON_DEPENDENCIES}
gtk3-devel
libXau-devel
libXdmcp-devel
xorg-x11-server-Xorg
xorg-x11-server-devel
script:
- meson . build ${COMMON_BUILD_OPTIONS}
- ninja -C build
- ninja -C build install
- ninja -C build dist
- ninja -C build test
except:
- tags
build-fedora-wayland:
image: fedora:40
stage: build
before_script:
- dnf -y install ${COMMON_DEPENDENCIES}
script:
- meson . build ${COMMON_BUILD_OPTIONS} -Dx11-support=false
- ninja -C build
- ninja -C build install
- ninja -C build dist
- ninja -C build test
except:
- tags