[v4,7/7] ci: add checking of includes to CI builds
Checks
Commit Message
For CI builds, turn on the checking of includes.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
For simplicity, this patch just enables the header includes checks globally,
rather than just limiting it to certain builds. Since the C files generated are
all just a single #include line , the extra compilation time is fairly short
compared to the overall existing build time in the CI.
---
.ci/linux-build.sh | 1 +
1 file changed, 1 insertion(+)
--
2.27.0
@@ -57,6 +57,7 @@ fi
OPTS="$OPTS -Dmachine=default"
OPTS="$OPTS --default-library=$DEF_LIB"
OPTS="$OPTS --buildtype=debugoptimized"
+OPTS="$OPTS -Dcheck_includes=true"
meson build --werror $OPTS
ninja -C build