-
Notifications
You must be signed in to change notification settings - Fork 47
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 a github action to check tidy #93
Conversation
If you guys like this PR, I want to make a similar PR for flutter-tizen/engine |
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.
IMHO this is very important contribution to automatically maintain common coding style during PR.
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.
LGTM 👌
* This format is based on Google Style * check-tidy came from Samsusng/escargot * How to run: tools/check_tidy.py You can specify clang-format using '--clang-format' The clang-format being used by vscode is usually in ~/.vscode/extensions/ms-vscode.cpptools-{VERSION}-insiders/LLVM/bin/ Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
.github/workflows/format.yml
Outdated
sudo apt-get update | ||
sudo apt-get install clang-format-11 | ||
- name: Check tidy | ||
run: tools/check_tidy.py |
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.
for consistency with the dart job
run: tools/check_tidy.py | |
run: tools/check_tidy.py --dir packages |
Can check_tidy.py resolve a relative directory path?
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.
I applied it
By the way this PR itself is failing the check. |
it caused by config file generated by clang-foramt12 |
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
This PR includes :
How to run:
You can specify clang-format using '--clang-format'
The clang-format being used by vscode is usually in
~/.vscode/extensions/ms-vscode.cpptools-{VERSION}-insiders/LLVM/bin/