* [PATCH] ci: test-defconfigs: build with -Werror
@ 2023-06-06 11:38 Ahmad Fatoum
2023-06-21 8:29 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-06-06 11:38 UTC (permalink / raw)
To: barebox; +Cc: Ahmad Fatoum
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ci: test-defconfigs: build with -Werror
2023-06-06 11:38 [PATCH] ci: test-defconfigs: build with -Werror Ahmad Fatoum
@ 2023-06-21 8:29 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-06-21 8:29 UTC (permalink / raw)
To: Ahmad Fatoum; +Cc: barebox
On Tue, Jun 06, 2023 at 01:38:06PM +0200, Ahmad Fatoum wrote:
> 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
Applied, thanks
Sascha
>
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-21 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 11:38 [PATCH] ci: test-defconfigs: build with -Werror Ahmad Fatoum
2023-06-21 8:29 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox