This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch hotfix/limit-gcc-analyzer-usage in repository https://gitbox.apache.org/repos/asf/celix.git
commit ed914c18b4b6c5566d2718aa3576cbfa866b0045 Author: PengZheng <[email protected]> AuthorDate: Tue Feb 10 15:08:59 2026 +0800 Limit gcc analyzer to production codes. --- .github/workflows/conan_create.yml | 2 +- .github/workflows/ubuntu.yml | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/conan_create.yml b/.github/workflows/conan_create.yml index 2bed2c387..29123e0cd 100644 --- a/.github/workflows/conan_create.yml +++ b/.github/workflows/conan_create.yml @@ -66,7 +66,7 @@ jobs: CC: ${{ matrix.compiler[0] }} CXX: ${{ matrix.compiler[1] }} run: | - conan create . -c tools.cmake.cmaketoolchain:generator=Ninja -b missing -o celix/*:build_all=True -o celix/*:enable_ccache=True -pr:b default -pr:h default -s:h build_type=${{ matrix.type }} -tf examples/conan_test_package_v2 -o celix/*:celix_cxx17=True -o celix/*:celix_install_deprecated_api=True + conan create . -c tools.cmake.cmaketoolchain:generator=Ninja -b missing -o celix/*:build_all=True -o celix/*:enable_ccache=True -pr:b default -pr:h default -s:h build_type=${{ matrix.type }} -tf examples/conan_test_package_v2 -o celix/*:celix_cxx17=True -o celix/*:celix_install_deprecated_api=True -o celix/*:enable_gcc_analyzer=${{matrix.compiler[0] == 'gcc' && 'True' || 'False'}} - name: Dependency Deduction Test env: CC: ${{ matrix.compiler[0] }} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 640d34552..0e60cf73c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -145,14 +145,12 @@ jobs: -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DENABLE_CCACHE=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5 - -DENABLE_GCC_ANALYZER=${{matrix.type == 'RelWithDebInfo' && 'ON' || 'OFF'}} -G Ninja run: | mkdir build install cd build cmake ${BUILD_OPTIONS} -DCMAKE_INSTALL_PREFIX=../install .. - ninja -j8 - ninja install + ninja && ninja install - name: Test run: | cd $GITHUB_WORKSPACE/build
