mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-04 15:33:09 +00:00
Update gitlab-ci to use meson
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
495d1612c4
commit
e5a93d7a30
@ -4,7 +4,7 @@ before_script:
|
||||
- >
|
||||
dnf install 'dnf-command(copr)' git libtool make libasan orc-devel
|
||||
python3 python3-six python3-pyparsing glib-networking
|
||||
asciidoc bzip2
|
||||
asciidoc bzip2 meson ninja-build
|
||||
-y
|
||||
- dnf copr enable @spice/nightly -y
|
||||
- dnf builddep spice -y
|
||||
@ -18,6 +18,15 @@ makecheck:
|
||||
- make
|
||||
- make -C server check || (cat server/tests/test-suite.log && exit 1)
|
||||
|
||||
meson-makecheck:
|
||||
script:
|
||||
- >
|
||||
CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
|
||||
LDFLAGS='-fsanitize=address -lasan'
|
||||
meson build -Dcelt051=enabled || (cat build/meson-logs/meson-log.txt && exit 1)
|
||||
- ninja -C build
|
||||
- (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
|
||||
|
||||
# check non-standard options, currently
|
||||
# --enable-statistics compile statistic code
|
||||
# --without-sasl disable SASL
|
||||
@ -27,6 +36,12 @@ options:
|
||||
- make
|
||||
- make -C server check || (cat server/tests/test-suite.log && exit 1)
|
||||
|
||||
meson-options:
|
||||
script:
|
||||
- meson -Dstatistics=true -Dsasl=false -Dcelt051=disabled build
|
||||
- ninja -C build
|
||||
- (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
|
||||
|
||||
check-valgrind:
|
||||
script:
|
||||
- dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm -y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user