forked from xq2537/spice
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitlab-ci.yml
38 lines (33 loc) · 1.04 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
image: fedora:latest
before_script:
- dnf install 'dnf-command(copr)' git libtool make libasan -y
- dnf copr enable @spice/nightly -y
- dnf builddep spice -y
makecheck:
script:
- >
CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer'
LDFLAGS='-fsanitize=address -lasan'
./autogen.sh
- make
- make -C server check || (cat server/tests/test-suite.log && exit 1)
statistics:
script:
- ./autogen.sh --enable-statistics
- make
- make -C server check || (cat server/tests/test-suite.log && exit 1)
check-valgrind:
script:
- dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm -y
- dnf debuginfo-install spice-server -y
- >
dnf install valgrind
gstreamer1-libav gstreamer1-plugins-ugly gstreamer1-plugins-good gstreamer1-plugins-bad-free
-y
- ./autogen.sh --enable-valgrind --enable-extra-checks
- make
- make check-valgrind || (cat server/tests/test-suite-memcheck.log && exit 1)
syntax-check:
script:
- ./autogen.sh
- make syntax-check