-
Notifications
You must be signed in to change notification settings - Fork 5.5k
ci: use azp for api and go-control-plane sync #13550
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -312,19 +312,20 @@ elif [[ "$CI_TARGET" == "bazel.compile_time_options" ]]; then | |
| collect_build_profile build | ||
| exit 0 | ||
| elif [[ "$CI_TARGET" == "bazel.api" ]]; then | ||
| # Use libstdc++ because the API booster isn't capable of working with libc++ yet. | ||
| ENVOY_STDLIB="libstdc++" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is the part that is confusing me. Can you add more comments here per the other comments? Is this because of RBE or something else? Why doesn't it work and why do we need to set this? Otherwise LGTM. /wait
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
| setup_clang_toolchain | ||
| export LLVM_CONFIG="${LLVM_ROOT}"/bin/llvm-config | ||
| echo "Validating API structure..." | ||
| ./tools/api/validate_structure.py | ||
| echo "Testing API and API Boosting..." | ||
| bazel_with_collection test "${BAZEL_BUILD_OPTIONS[@]}" -c fastbuild @envoy_api_canonical//test/... @envoy_api_canonical//tools/... \ | ||
| @envoy_api_canonical//tools:tap2pcap_test @envoy_dev//clang_tools/api_booster/... | ||
| echo "Building API..." | ||
| bazel build "${BAZEL_BUILD_OPTIONS[@]}" -c fastbuild @envoy_api_canonical//envoy/... | ||
| echo "Testing API..." | ||
| bazel_with_collection test "${BAZEL_BUILD_OPTIONS[@]}" -c fastbuild @envoy_api_canonical//test/... @envoy_api_canonical//tools/... \ | ||
| @envoy_api_canonical//tools:tap2pcap_test | ||
| echo "Testing API boosting (unit tests)..." | ||
| bazel_with_collection test "${BAZEL_BUILD_OPTIONS[@]}" -c fastbuild @envoy_dev//clang_tools/api_booster/... | ||
| echo "Testing API boosting (golden C++ tests)..." | ||
| # We use custom BAZEL_BUILD_OPTIONS here; the API booster isn't capable of working with libc++ yet. | ||
| LLVM_CONFIG="${LLVM_ROOT}"/bin/llvm-config BAZEL_BUILD_OPTIONS="--config=clang" python3.8 ./tools/api_boost/api_boost_test.py | ||
| BAZEL_BUILD_OPTIONS="${BAZEL_BUILD_OPTIONS[*]}" python3.8 ./tools/api_boost/api_boost_test.py | ||
| exit 0 | ||
| elif [[ "$CI_TARGET" == "bazel.coverage" || "$CI_TARGET" == "bazel.fuzz_coverage" ]]; then | ||
| setup_clang_toolchain | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.