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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> ---
>  .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 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux