mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-07 08:42:32 +00:00
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Snir Sheriber <ssheribe@redhat.com>
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
image: fedora:latest
|
|
|
|
before_script:
|
|
- >
|
|
dnf install 'dnf-command(copr)' git libtool make libasan orc-devel
|
|
python3 python3-six python3-pyparsing
|
|
-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)
|
|
|
|
# check non-standard options, currently
|
|
# --enable-statistics compile statistic code
|
|
# --without-sasl disable SASL
|
|
options:
|
|
script:
|
|
- ./autogen.sh --enable-statistics --without-sasl
|
|
- 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 glib2 -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
|