diff --git a/.github/workflows/analyzers.yml b/.github/workflows/analyzers.yml index 787b45a4b..89fbdfaf4 100644 --- a/.github/workflows/analyzers.yml +++ b/.github/workflows/analyzers.yml @@ -128,7 +128,7 @@ jobs: run: | ccache --zero-stats - # CMAKE_DISABLE_PRECOMPILE_HEADERS=OFF is correct (already tested in other workflows) + # CMAKE_DISABLE_PRECOMPILE_HEADERS=ON is correct (Clazy is failing with OFF) # TinyDrivers are disabled for Qt v5.15 - name: TinyORM cmake configure (${{ env.TinyORMBuildName }}) working-directory: ${{ env.TinyORMPath }} @@ -142,7 +142,7 @@ jobs: -D CMAKE_CXX_COMPILER_LAUNCHER:FILEPATH=/usr/local/bin/ccache -D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-18 -D CMAKE_TOOLCHAIN_FILE:FILEPATH="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" - -D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=OFF + -D CMAKE_DISABLE_PRECOMPILE_HEADERS:BOOL=ON -D CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON -D CMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF -D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }} @@ -174,11 +174,11 @@ jobs: run: >- echo 'TINY_CLANG_TIDY_COMPLETED=true' >> $GITHUB_ENV - # run-clang-tidy-18 - # -extra-arg-before='-Qunused-arguments' - # -p='${{ env.TinyORMBuildTree }}' - # -j ${{ env.TinyParallel }} - # '[\\\/]+(?:drivers|examples|orm|src|tests|tom)[\\\/]+.+?[\\\/]+(?!mocs_)[\w\d_\-\+]+\.cpp$' + run-clang-tidy-18 + -extra-arg-before='-Qunused-arguments' + -p='${{ env.TinyORMBuildTree }}' + -j ${{ env.TinyParallel }} + '[\\\/]+(?:drivers|examples|orm|src|tests|tom)[\\\/]+.+?[\\\/]+(?!mocs_)[\w\d_\-\+]+\.cpp$' - name: Clazy-standalone prepare # Run the clazy if the clang-tidy was executed and was success or failed