mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 21:33:09 +02:00
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:
parent
165ae8c8a7
commit
0f869f3d73
@ -726,8 +726,8 @@ scan-build:
|
|||||||
stage: analysis
|
stage: analysis
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
variables:
|
||||||
# FIXME: Eventually we want static analysis on the tests, for code quality,
|
# FIXME: Eventually we want static analysis on the tests and copylibs, for
|
||||||
# but for the moment it’s just busywork.
|
# code quality, but for the moment it’s just busywork.
|
||||||
# FIXME: Disable the dead code checkers for now because they create a lot of
|
# FIXME: Disable the dead code checkers for now because they create a lot of
|
||||||
# noise and don’t indicate high severity problems.
|
# noise and don’t indicate high severity problems.
|
||||||
SCAN_BUILD_FLAGS: >-
|
SCAN_BUILD_FLAGS: >-
|
||||||
@ -737,6 +737,9 @@ scan-build:
|
|||||||
--exclude gmodule/tests/
|
--exclude gmodule/tests/
|
||||||
--exclude gobject/tests/
|
--exclude gobject/tests/
|
||||||
--exclude gthread/tests/
|
--exclude gthread/tests/
|
||||||
|
--exclude girepository/cmph/
|
||||||
|
--exclude glib/libcharset/
|
||||||
|
--exclude gio/xdgmime/
|
||||||
-disable-checker deadcode.DeadStores
|
-disable-checker deadcode.DeadStores
|
||||||
script:
|
script:
|
||||||
- meson setup ${MESON_COMMON_OPTIONS}
|
- meson setup ${MESON_COMMON_OPTIONS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user