mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-17 15:19:57 +00:00
ci: Use release build with Meson
Some compiler warnings are triggered only if optimisations are turned on. By default with debug build optimisations are disabled. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
parent
7b97489bda
commit
8b5543dc6a
@ -24,7 +24,7 @@ meson-makecheck:
|
||||
- >
|
||||
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)
|
||||
meson --buildtype=release 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)
|
||||
|
||||
@ -39,7 +39,7 @@ options:
|
||||
|
||||
meson-options:
|
||||
script:
|
||||
- meson -Dstatistics=true -Dsasl=false -Dcelt051=disabled build
|
||||
- meson --buildtype=release -Dstatistics=true -Dsasl=false -Dcelt051=disabled build
|
||||
- ninja -C build
|
||||
- (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user