mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-12 13:38:50 +02: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:
@ -80,7 +80,7 @@ fedora-x86_64:
|
|||||||
stage: build
|
stage: build
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
variables:
|
||||||
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
|
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs -Wnonnull"
|
||||||
script:
|
script:
|
||||||
- meson ${MESON_COMMON_OPTIONS}
|
- meson ${MESON_COMMON_OPTIONS}
|
||||||
--werror
|
--werror
|
||||||
@ -128,6 +128,8 @@ debian-stable-x86_64:
|
|||||||
image: $DEBIAN_IMAGE
|
image: $DEBIAN_IMAGE
|
||||||
stage: build
|
stage: build
|
||||||
needs: []
|
needs: []
|
||||||
|
variables:
|
||||||
|
CFLAGS: "-Wnonnull"
|
||||||
script:
|
script:
|
||||||
- meson ${MESON_COMMON_OPTIONS}
|
- meson ${MESON_COMMON_OPTIONS}
|
||||||
--werror
|
--werror
|
||||||
|
Reference in New Issue
Block a user