From 0f869f3d73d7df1c344dc84268b430e63aa4ccad Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 12 Apr 2024 15:09:20 +0100 Subject: [PATCH] ci: Disable scan-build for copylibs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Helps: #1767 --- .gitlab-ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dd68a207d..96db39184 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 it’s just busywork. + # FIXME: Eventually we want static analysis on the tests and copylibs, for + # code quality, but for the moment it’s just busywork. # FIXME: Disable the dead code checkers for now because they create a lot of # noise and don’t 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}