]> git.ipfire.org Git - thirdparty/git.git/commit
ci: raise error when Meson generates warnings
authorPatrick Steinhardt <ps@pks.im>
Wed, 22 Jan 2025 12:05:53 +0000 (13:05 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Jan 2025 20:37:34 +0000 (12:37 -0800)
commita8179952e13af2902d4806d2e2982bcfeb6339eb
treea2420a48124c95599d95e240ac0868996c917536
parent13cb20fc4634029762e80d2858e081b0691ff50f
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>
ci/run-build-and-tests.sh