ci: Increase warnlevel from 1 to 2

This will hopefully catch more things than -Wall.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2319>
This commit is contained in:
Jonas Ådahl 2022-03-04 21:04:16 +01:00 committed by Marge Bot
parent eeb96e95a5
commit cccf133f55

View File

@ -214,7 +214,15 @@ check-code-style:
- .fdo.distribution-image@fedora
stage: build
script:
- meson . build -Dbuildtype=debugoptimized -Db_coverage=true -Degl_device=true -Dwayland_eglstream=true --werror --prefix /usr
- meson . build
--prefix /usr
--werror
--fatal-meson-warnings
--warnlevel 2
-Dbuildtype=debugoptimized
-Db_coverage=true
-Degl_device=true
-Dwayland_eglstream=true
- meson compile -C build
- meson install -C build
artifacts: