Skip to content
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

tidy: allow run clang_tidy with file #12472

Merged
merged 3 commits into from
Aug 4, 2020
Merged

Conversation

lizan
Copy link
Member

@lizan lizan commented Aug 4, 2020

Refactor ci/clang_tidy.sh and ci/do_ci.sh to allow run clang-tidy for specified source file. Make running clang_tidy with build container or within devcontainer easier.

Risk Level: Low
Testing: Local, CI
Docs Changes: Yes
Release Notes: N/A

Signed-off-by: Lizan Zhou lizan@tetrate.io

lizan added 3 commits August 4, 2020 02:44
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
@@ -284,7 +284,7 @@ elif [[ "$CI_TARGET" == "bazel.coverage" || "$CI_TARGET" == "bazel.fuzz_coverage
exit 0
elif [[ "$CI_TARGET" == "bazel.clang_tidy" ]]; then
setup_clang_toolchain
NUM_CPUS=$NUM_CPUS ci/run_clang_tidy.sh
NUM_CPUS=$NUM_CPUS ci/run_clang_tidy.sh $*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"$@" ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops sorry I missed this, #12476

@lizan lizan merged commit 544a414 into envoyproxy:master Aug 4, 2020
lizan added a commit to lizan/envoy that referenced this pull request Aug 4, 2020
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
chaoqin-li1123 pushed a commit to chaoqin-li1123/envoy that referenced this pull request Aug 7, 2020
Refactor `ci/clang_tidy.sh` and `ci/do_ci.sh` to allow run clang-tidy for specified source file. Make running clang_tidy with build container or within devcontainer easier.

Risk Level: Low
Testing: Local, CI
Docs Changes: Yes
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
chaoqin-li1123 pushed a commit to chaoqin-li1123/envoy that referenced this pull request Aug 7, 2020
Refactor `ci/clang_tidy.sh` and `ci/do_ci.sh` to allow run clang-tidy for specified source file. Make running clang_tidy with build container or within devcontainer easier.

Risk Level: Low
Testing: Local, CI
Docs Changes: Yes
Release Notes: N/A

Signed-off-by: Lizan Zhou <lizan@tetrate.io>
Signed-off-by: chaoqinli <chaoqinli@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants