ci: Turn on -Werror

Now that all compiler warnings are fixed, let's try to keep it that
way by making warnings fatal during CI.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709
This commit is contained in:
Florian Müllner 2019-09-10 16:02:44 +02:00 committed by Florian Müllner
parent a030c54661
commit 48b860b69f

View File

@ -54,7 +54,7 @@ build:
- meson mutter mutter/build --prefix=/usr -Dtests=false - meson mutter mutter/build --prefix=/usr -Dtests=false
- ninja -C mutter/build install - ninja -C mutter/build install
script: script:
- meson . build -Dbuiltype=debugoptimized -Dman=false - meson . build -Dbuiltype=debugoptimized -Dman=false --werror
- ninja -C build - ninja -C build
- ninja -C build install - ninja -C build install
<<: *only_default <<: *only_default