-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add clang-tidy in a GitHub workflow #4636
Add clang-tidy in a GitHub workflow #4636
Conversation
Any thoughts on why we don't see Github workflow in the list of checks? |
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.
Maybe just run it directly on ubuntu_latest / fixed ubuntu. Then its just clang-tidy that needs installed? It does give potential issues, that MS might change the versions installed, but it would avoid pulling a docker image? |
IIRC, doesn't clang-tidy require all dependencies to be installed? |
Ahh, that might be. I'm not that familiar with clang/tidy. I can see Cmake is run as well, which will fail with missing dependencies.
|
Not sure, it was triggered automatically in the previous PR once I added the workflow files |
I think we need to merge this into master before the github action is activated. We saw something similar with Azure pipelines as well |
See reply to your previous comment. |
Closing and re-opening to trigger checks ... |
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.
Please also rebase on the current master branch, otherwise the compile_commands.json
is not generated
386a89f
to
0082a29
Compare
|
I'll try running this in my other PR first, and see what happens... |
@gnawme If you rebase this and all checks pass, then this is ready to merge from my side. We can leave enabling the remaining PCL modules for other pull requests |
5853a5f
to
c977aee
Compare
Unfortunately, there are still 4 clang-tidy errors left. Let's fix them in this pull request (not a separate one this time)? |
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
Signed-off-by: Norm Evangelista <norm.evangelista@gmail.com>
c977aee
to
f3506a2
Compare
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.
Nice, thanks!
This PR is a companion to #4629; per @kunaltyagi, it only adds the GitHub Workflow to enable
clang-tidy
checks in CI, but does not actually enableclang-tidy
in the PCL repo itself.