-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: run clang-tidy (linter) on all files when on main or manually triggered #504
base: main
Are you sure you want to change the base?
Conversation
…with the respective functions using C++20 ranges
There is no change in the changelog. This PR will not produce a new releasable version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please rebase to get rid of the superfluous commits?
- shell: bash | ||
name: Configure and run clang-tidy on changed files | ||
run: | | ||
mv /src/build . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this mv
? Can't we cd
into the correct directory?
name: Configure and run clang-tidy on changed files | ||
run: | | ||
mv /src/build . | ||
cmake -DBUILD_WITH_CLANG_TIDY=on -D CMAKE_BUILD_TYPE=Debug -B build/Debug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the space make a difference?
cmake -DBUILD_WITH_CLANG_TIDY=on -D CMAKE_BUILD_TYPE=Debug -B build/Debug | |
cmake -D BUILD_WITH_CLANG_TIDY=on -D CMAKE_BUILD_TYPE=Debug -B build/Debug |
run: | | ||
mv /src/build . | ||
cmake -DBUILD_WITH_CLANG_TIDY=on -D CMAKE_BUILD_TYPE=Debug -B build/Debug | ||
cmake --build build/Debug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comparing to build_with_conan
, we're usually running this with --parallel
. Should we also do that here?
resolves #498
Summary
PR Checklist