Skip to content

Commit

Permalink
Adjust clang-tidy script
Browse files Browse the repository at this point in the history
  • Loading branch information
davschneller committed Nov 13, 2024
1 parent b1c4ee4 commit da96276
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
set -euo pipefail
clang-tidy-18 --version
which clang-tidy-18
git submodule update --init
mkdir -p build && cd build
cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DTESTING=ON -DUSE_MPI=ON -GNinja
sed -i 's/-fprofile-abs-path //g' compile_commands.json
ninja
run-clang-tidy ../tests -clang-tidy-binary=$(which clang-tidy-18) -quiet -j $(nproc)
for f in $(find ./ -iname '*.h'); do clang-tidy-18 -p build $f; done

0 comments on commit da96276

Please sign in to comment.