aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2022-04-21 15:18:36 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2022-04-22 12:42:52 -0700
commit6eebd13e76e12748cda19daa340e3953ea1e8ecb (patch)
treec29e5268e4b2e7989274c8e770ea93422551026c
parentc491657c0eb68d01dee5cc66ee3909dba5523540 (diff)
downloadf2fs-tools-6eebd13e76e12748cda19daa340e3953ea1e8ecb.tar.gz
ci: Enable -Wall, -Wextra and -Werror
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>
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
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)