mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] ci: test-defconfigs: build with -Werror
Date: Tue,  6 Jun 2023 13:38:06 +0200	[thread overview]
Message-ID: <20230606113806.3122376-1-a.fatoum@pengutronix.de> (raw)

CI builds a lot of code and warnings can go unnoticed. Ensure this won't
happen anymore.

Signed-off-by: Ahmad Fatoum <a.fatoum@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




             reply	other threads:[~2023-06-06 11:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 11:38 Ahmad Fatoum [this message]
2023-06-21  8:29 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230606113806.3122376-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox