diff options
-rw-r--r-- | .github/workflows/build.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d24ac4..dc7143a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,8 +91,9 @@ jobs: - name: Run cppcheck (Debian only) if: matrix.distro_name == 'debian' + shell: bash run: | - export CFLAGS+=" -Wsign-compare" + export CFLAGS="${CFLAGS:-} -Wsign-compare" cppcheck --enable=warning,style,performance,portability,information,missingInclude . - name: Generate build system @@ -104,6 +105,7 @@ jobs: scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - name: Build with scan-build + shell: bash run: | if [ $CPU_COUNT -gt 1 ]; then if [ "$DISTRO_NAME" == "debian" ]; then |