mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 07:02:28 +00:00
ci: add debugoptimized GCC build
This makes it possible for GCC to print more warnings. For instance, the docs for -Wmaybe-uninitialized state [1]: > These warnings are only possible in optimizing compilation, because > otherwise GCC does not keep track of the state of variables. Other warning options have similar requirements as well. [1]: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized
This commit is contained in:
parent
bd7a47e139
commit
a4e1184712
@ -25,7 +25,7 @@ sources:
|
|||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
cd wlroots
|
cd wlroots
|
||||||
meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled
|
meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled --buildtype=debugoptimized
|
||||||
- build: |
|
- build: |
|
||||||
cd wlroots
|
cd wlroots
|
||||||
ninja -C build
|
ninja -C build
|
||||||
|
Loading…
Reference in New Issue
Block a user