diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2020-03-19 12:03:29 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2020-03-19 14:44:16 +0000 |
commit | cf94bdffa61d1e4dd8f4cdc2dad0fbf491add22a (patch) | |
tree | 42206d4cee9ce0cc872fd5d37bd1777808b96234 /.gitlab-ci.yml | |
parent | a6c9e499fda1c25f82bcf9d82b33a20abe1ec3b8 (diff) |
ci: Use --werror for Meson
We want to get rid of warnings
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7127c173..7565b67d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ meson-makecheck: - > CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920' LDFLAGS='-fsanitize=address -lasan' - meson --buildtype=release build || (cat build/meson-logs/meson-log.txt && exit 1) + meson --buildtype=release --werror build || (cat build/meson-logs/meson-log.txt && exit 1) - ninja -C build - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1) @@ -56,7 +56,7 @@ options: meson-options: script: - - meson --buildtype=release -Dstatistics=true -Dsasl=false build + - meson --buildtype=release --werror -Dstatistics=true -Dsasl=false build - ninja -C build - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1) @@ -129,7 +129,7 @@ makecheck-debian32: - > CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920' LDFLAGS='-fsanitize=address -lasan' - meson --buildtype=release build || (cat build/meson-logs/meson-log.txt && exit 1) + meson --buildtype=release --werror build || (cat build/meson-logs/meson-log.txt && exit 1) - ninja -C build - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1) |