disable static analyzer, doesn't work due to link issues

pull/794/head
Brad House 5 months ago
parent d0ccb5efd8
commit d6534de510
  1. 12
      .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

Loading…
Cancel
Save