mirror of https://github.com/google/oss-fuzz.git
envoy: Limiting number of targets in CI (#7809)
* envoy: Limiting number of targets in CI Signed-off-by: Adi Suissa-Peleg <adip@google.com> * Removing another target Signed-off-by: Adi Suissa-Peleg <adip@google.com>
This commit is contained in:
parent
9e0dd4c311
commit
97d0732562
|
@ -19,7 +19,15 @@ declare -r FUZZ_TARGET_QUERY='
|
|||
let all_fuzz_tests = attr(tags, "fuzz_target", "...") in
|
||||
$all_fuzz_tests - attr(tags, "no_fuzz", $all_fuzz_tests)
|
||||
'
|
||||
declare -r OSS_FUZZ_TARGETS="$(bazel query "${FUZZ_TARGET_QUERY}" | sed 's/$/_oss_fuzz/')"
|
||||
|
||||
if [ -n "${OSS_FUZZ_CI-}" ]
|
||||
then
|
||||
# CI has fewer resources so restricting to a small number of fuzz targets.
|
||||
# Choosing the header_parser, and header_map_impl.
|
||||
declare -r OSS_FUZZ_TARGETS="$(bazel query "${FUZZ_TARGET_QUERY}" | grep ':header' | sed 's/$/_oss_fuzz/')"
|
||||
else
|
||||
declare -r OSS_FUZZ_TARGETS="$(bazel query "${FUZZ_TARGET_QUERY}" | sed 's/$/_oss_fuzz/')"
|
||||
fi
|
||||
|
||||
declare -r EXTRA_BAZEL_FLAGS="$(
|
||||
if [ -n "$CC" ]; then
|
||||
|
|
Loading…
Reference in New Issue