mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
github_runner_matrix: extend timeout for dependent tests on arm64
We give our ARM runners half the timeout of the Intel runners because the ARM runners are faster. However, this is no longer true for dependent testing because we test recursive dependents on ARM but skip them on Intel. This means that we can often hit the timeout on ARM but have all jobs finish on Intel. We can re-run these with the long build label, but that's a bit wasteful of our limited long build slots. Instead, let's just use the same timeout value across ARM and Intel runners when testing dependents: 2 hours.
This commit is contained in:
parent
ad98e30d9c
commit
a1853fc975
@ -169,6 +169,8 @@ class GitHubRunnerMatrix
|
||||
["#{version}-arm64", runner_timeout]
|
||||
end
|
||||
|
||||
# We test recursive dependents on ARM macOS, so they can be slower than our Intel runners.
|
||||
timeout *= 2 if @dependent_matrix && timeout < GITHUB_ACTIONS_RUNNER_TIMEOUT
|
||||
spec = MacOSRunnerSpec.new(
|
||||
name: "macOS #{version}-arm64",
|
||||
runner:,
|
||||
|
Loading…
x
Reference in New Issue
Block a user