Skip to content

Commit

Permalink
workflows analyzers testing Clang v18 (finished)
Browse files Browse the repository at this point in the history
Re-disabled PCH.
  • Loading branch information
silverqx committed Apr 22, 2024
1 parent eb23582 commit b9677c4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/analyzers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b9677c4

Please sign in to comment.