Skip to content

Commit 5611632

Browse files
committed
ci: Use -Werror
Make gcc report warnings as errors so that we don't miss them in code review.
1 parent fe09901 commit 5611632

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Generate build files
4040
run: phpize
4141
- name: Configure build
42-
run: CFLAGS="-Wall -fno-strict-aliasing" ./configure --with-yaml
42+
run: CFLAGS="-Werror -Wall -fno-strict-aliasing" ./configure --with-yaml
4343
- name: Report gcc problems
4444
uses: ammaraskar/gcc-problem-matcher@master
4545
- name: Build

0 commit comments

Comments
 (0)