Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions build_tools/github_actions/configure_multi_arch_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -1261,9 +1261,16 @@ def _expand_build_config_for_platform(
f"disabling tests"
)
elif build_variant == "host-asan":
# Run host-asan tests only on nightly (schedule or workflow_dispatch)
# due to limited ASAN runner capacity and stability concerns.
if not (ci_inputs.is_schedule or ci_inputs.is_workflow_dispatch):
# Run host-asan tests on nightly (schedule or workflow_dispatch) or
# for external repo builds that have narrowed the build graph.
# External repos that set build_stages (e.g., rocm-systems presubmit)
# have already scoped the build enough to make sandbox runners
# affordable on every PR.
if not (
ci_inputs.is_schedule
or ci_inputs.is_workflow_dispatch
or (ci_inputs.external_repo and ci_inputs.build_stages)
Comment thread
dileepr1 marked this conversation as resolved.
Resolved
):
test_runs_on = ""
print(
f" {family_name}: host-asan tests only run on nightly, "
Expand Down
Loading