ci: raise error when Meson generates warnings
Meson prints warnings in several cases, like for example when using a feature supported by the current version of Meson, but not yet supported by the minimum required version as declared by the project. These warnings will not cause the setup to fail by default, which makes it quite easy to miss them. Improve this by passing `--fatal-meson-warnings` to `meson setup` so that our CI jobs will fail on warnings. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
13cb20fc46
commit
a8179952e1
@ -52,6 +52,7 @@ esac
|
||||
case "$jobname" in
|
||||
*-meson)
|
||||
group "Configure" meson setup build . \
|
||||
--fatal-meson-warnings \
|
||||
--warnlevel 2 --werror \
|
||||
--wrap-mode nofallback \
|
||||
-Dfuzzers=true
|
||||
|
Reference in New Issue
Block a user