ci: Enable -Wall, -Wextra and -Werror

commit 6eebd13e76e12748cda19daa340e3953ea1e8ecb
category: bugfix
issue: #I6VAS0
CVE: NA

Signed-off-by: DongSenhao <dongsenhao2@huawei.com>
---------------------------------------

Make the Github continuous integration checks more strict.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
Bart Van Assche 2022-04-21 15:18:36 -07:00 committed by dongsenhao
parent 25d83da964
commit 6303983f84

View File

@ -66,5 +66,5 @@ jobs:
./autogen.sh
./configure --host=${{matrix.host}} \
CC=${{ matrix.host && format('{0}-{1}', matrix.host, matrix.cc) || matrix.cc }} \
CFLAGS="${{matrix.cflags}}"
CFLAGS="-Wall -Wextra -Werror -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter ${{matrix.cflags}}"
make -j$(nproc)