CI: enable gcc static analyzer

This commit is contained in:
Consolatis 2024-04-08 17:32:16 +02:00
parent c9de358075
commit b959e23d6d
3 changed files with 16 additions and 0 deletions

View file

@ -155,6 +155,17 @@ jobs:
meson compile -C build-gcc-release
' | $TARGET
- name: Build with gcc - static analyzer
run: |
echo '
cd "$GITHUB_WORKSPACE"
export CC=gcc
meson setup build-gcc-static_analyzer -Dxwayland=enabled \
-Dstatic_analyzer=enabled --werror
meson compile -C build-gcc-static_analyzer
' | $TARGET
# Runtime tests, these run on Debian and Void only (the later due to libmusl being used)
- name: Build with clang - release
run: |