blob: acebd43bfd38f97b68aa2103ab9fc671f3d1d239 (
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
|
image: fedora:latest
variables:
DEPENDENCIES: gcc
gcc-c++
libtool
autoconf
automake
gtk-doc
intltool
gobject-introspection-devel
make
libxslt
pkgconfig(gio-2.0)
pkgconfig(mozjs-78)
expat-devel
pkgconfig(libsystemd)
pkgconfig(systemd)
pam-devel
python3-dbusmock
meson
git
dbus-devel
build_stable:
before_script:
- dnf upgrade -y --nogpgcheck fedora-release fedora-repos*
- dnf update -y && dnf install -y $DEPENDENCIES
- getent group polkitd >/dev/null || groupadd -r polkitd
- getent passwd polkitd >/dev/null || useradd -r -g polkitd -d / -s /sbin/nologin -c "User for polkitd" polkitd
script:
- meson setup
-D authfw=pam
-D examples=true
-D gtk_doc=true
-D introspection=true
-D man=true
-D session_tracking=libsystemd-login
-D tests=true
-D cpp_args="-D_FORTIFY_SOURCE=2"
builddir
- meson compile -C builddir
- meson test -C builddir
- meson install -C builddir
artifacts:
name: 'test logs'
when: 'always'
paths:
- 'builddir/meson-logs/*.txt'
|