[PATCH] ci: test-defconfigs: build with -Werror
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Jun 6 04:38:06 PDT 2023
CI builds a lot of code and warnings can go unnoticed. Ensure this won't
happen anymore.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
.github/workflows/build-defconfigs.yml | 3 ++-
test/kconfig/enable_werror.kconf | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
create mode 100644 test/kconfig/enable_werror.kconf
diff --git a/.github/workflows/build-defconfigs.yml b/.github/workflows/build-defconfigs.yml
index ff9264721d87..335976f18d06 100644
--- a/.github/workflows/build-defconfigs.yml
+++ b/.github/workflows/build-defconfigs.yml
@@ -40,4 +40,5 @@ jobs:
./test/generate-dummy-fw.sh
./MAKEALL -O build-${{matrix.arch}} -k test/kconfig/disable_size_check.kconf \
- -k test/kconfig/disable_target_tools.kconf '${{matrix.config}}'
+ -k test/kconfig/disable_target_tools.kconf \
+ -k test/kconfig/enable_werror.kconf '${{matrix.config}}'
diff --git a/test/kconfig/enable_werror.kconf b/test/kconfig/enable_werror.kconf
new file mode 100644
index 000000000000..f54ff6cdaab8
--- /dev/null
+++ b/test/kconfig/enable_werror.kconf
@@ -0,0 +1 @@
+CONFIG_WERROR=y
--
2.39.2
More information about the barebox
mailing list