ci: Disable scan-build for copylibs

Eventually, we do want to include them in static analysis (their code is
run in the same process as GLib, after all). But for now, that’s too
much work to get started.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>

Helps: #1767
This commit is contained in:
Philip Withnall 2024-04-12 15:09:20 +01:00
parent 165ae8c8a7
commit 0f869f3d73
No known key found for this signature in database
GPG Key ID: DCDF5885B1F3ED73

View File

@ -726,8 +726,8 @@ scan-build:
stage: analysis
needs: []
variables:
# FIXME: Eventually we want static analysis on the tests, for code quality,
# but for the moment its just busywork.
# FIXME: Eventually we want static analysis on the tests and copylibs, for
# code quality, but for the moment its just busywork.
# FIXME: Disable the dead code checkers for now because they create a lot of
# noise and dont indicate high severity problems.
SCAN_BUILD_FLAGS: >-
@ -737,6 +737,9 @@ scan-build:
--exclude gmodule/tests/
--exclude gobject/tests/
--exclude gthread/tests/
--exclude girepository/cmph/
--exclude glib/libcharset/
--exclude gio/xdgmime/
-disable-checker deadcode.DeadStores
script:
- meson setup ${MESON_COMMON_OPTIONS}