Skip to content

Commit

Permalink
CI: check for c89 declaration
Browse files Browse the repository at this point in the history
to prevent this to be catched late, as happened with #85
  • Loading branch information
GitMensch authored Jun 9, 2023
1 parent cca51ff commit 6073d49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ jobs:
export TERM="vt100"
echo "TERM=$TERM" >> $GITHUB_ENV
# note: w add additional C compiler syntax checks here to not need _another_ CI run
- name: configure
run: |
cd _build
../configure --enable-code-coverage
../configure --enable-code-coverage CPPFLAGS="-Werror=declaration-after-statement"
- uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit 6073d49

Please sign in to comment.