mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
ci: Build with -Wnonnull
-Wnonnull is sort of fickle and it's an option a lot of consumers of glib use. This commit makes sure it gets used on linux during CI as well, so we can catch compat problems before they hit our users.
This commit is contained in:
parent
79b06ab34f
commit
f11b96f255
@ -80,7 +80,7 @@ fedora-x86_64:
|
||||
stage: build
|
||||
needs: []
|
||||
variables:
|
||||
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
|
||||
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs -Wnonnull"
|
||||
script:
|
||||
- meson ${MESON_COMMON_OPTIONS}
|
||||
--werror
|
||||
@ -128,6 +128,8 @@ debian-stable-x86_64:
|
||||
image: $DEBIAN_IMAGE
|
||||
stage: build
|
||||
needs: []
|
||||
variables:
|
||||
CFLAGS: "-Wnonnull"
|
||||
script:
|
||||
- meson ${MESON_COMMON_OPTIONS}
|
||||
--werror
|
||||
|
Loading…
Reference in New Issue
Block a user