Skip to content

Commit

Permalink
ci: Use -Werror
Browse files Browse the repository at this point in the history
Make gcc report warnings as errors so that we don't miss them in code
review.
  • Loading branch information
bd808 committed Mar 28, 2023
1 parent fe09901 commit 5611632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Generate build files
run: phpize
- name: Configure build
run: CFLAGS="-Wall -fno-strict-aliasing" ./configure --with-yaml
run: CFLAGS="-Werror -Wall -fno-strict-aliasing" ./configure --with-yaml
- name: Report gcc problems
uses: ammaraskar/gcc-problem-matcher@master
- name: Build
Expand Down

0 comments on commit 5611632

Please sign in to comment.