From d6534de510c81ca833c134f5b5ea306447380a69 Mon Sep 17 00:00:00 2001 From: Brad House Date: Wed, 19 Jun 2024 12:45:23 -0400 Subject: [PATCH] disable static analyzer, doesn't work due to link issues --- .github/workflows/msys2.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 368bc95e..147b7865 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -88,8 +88,10 @@ jobs: ./build_asan/bin/adig.exe www.google.com ./build_asan/bin/ahost.exe www.google.com ./build_asan/bin/arestest.exe -4 -v --gtest_filter=-*LiveSearchTXT*:*LiveSearchANY*:*LiveGetLocalhostByAddr* - - name: "CMake: Analyze: build c-ares" - if: ${{ matrix.env == 'clang-x86_64' || matrix.env == 'clang-i686' }} - run: | - scan-build -v cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=C:/projects/build-cares/test_install -DCARES_BUILD_TESTS=OFF -Bbuild_analyze -G Ninja . - scan-build -v cmake --build build_analyze +# Something is up with the linker when invoked under scan-build, it can't find the basic Windows libraries during link time. +# - name: "CMake: Analyze: build c-ares" +# if: ${{ matrix.env == 'clang-x86_64' || matrix.env == 'clang-i686' }} +# # Ninja won't work because the analyzer is a perl script so CreateProcess() can't be used. Use MSYS Makefiles +# run: | +# scan-build-py -v cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=C:/projects/build-cares/test_install -DCARES_BUILD_TESTS=OFF -Bbuild_analyze -G "MSYS Makefiles" . +# scan-build-py -v cmake --build build_analyze