[PATCH] ci: test-defconfigs: build with -Werror

Sascha Hauer sha at pengutronix.de
Wed Jun 21 01:29:15 PDT 2023


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 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

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 |



More information about the barebox mailing list