From 6303983f84f92e5566d89f7caf83db861824fe1a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 21 Apr 2022 15:18:36 -0700 Subject: [PATCH] ci: Enable -Wall, -Wextra and -Werror commit 6eebd13e76e12748cda19daa340e3953ea1e8ecb category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao --------------------------------------- Make the Github continuous integration checks more strict. Signed-off-by: Bart Van Assche Signed-off-by: Jaegeuk Kim Signed-off-by: dongsenhao --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c774f9..428039d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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)