commit 6c5dd2f23d3be9e8a61846f033d2ae37c51f880f parent 836ee8e6c641732e9808338a592f54153921c176 Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Tue, 14 Jun 2022 16:19:09 +0300 CI: use clang compiler for Clang Static Analyser Diffstat:
| M | .gitlab-ci.yml | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -78,10 +78,11 @@ Scan-Build/Debian: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD script: - export CFLAGS="$CFLAGS_DEFAULT" + - export CC="clang-3.8" - ./bootstrap - - scan-build ./configure $CONFIGURE_BASE_FLAGS --enable-build-type=debug --disable-sanitizers - - scan-build -v -enable-checker security,nullability --status-bugs -o scan-build make -j$(nproc) - - scan-build -v -enable-checker security,nullability --status-bugs -o scan-build make -k check + - scan-build --use-cc=clang-3.8 ./configure $CONFIGURE_BASE_FLAGS --enable-build-type=debug --disable-sanitizers + - scan-build --use-cc="ccache clang-3.8" -v -enable-checker security,nullability --status-bugs -o scan-build make -j$(nproc) + - scan-build --use-cc="ccache clang-3.8" -v -enable-checker security,nullability --status-bugs -o scan-build make -k check tags: - shared - linux