From 6073d49315247fbcbdeb2644d6cc99a80968bc61 Mon Sep 17 00:00:00 2001 From: Simon Sobisch Date: Fri, 9 Jun 2023 12:14:51 +0200 Subject: [PATCH] CI: check for c89 declaration to prevent this to be catched late, as happened with #85 --- .github/workflows/ubuntu.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index f78c5c946..e454f810d 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -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()