mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
github_runner_matrix: align Intel and ARM timeouts
This prevents situations where the Intel runners have a 360 minute timeout but the ARM runners only have 45 minutes. See Homebrew/homebrew-core#130284.
This commit is contained in:
parent
c1fdb59081
commit
0b33a09090
@ -158,8 +158,7 @@ class GitHubRunnerMatrix
|
|||||||
runner.freeze
|
runner.freeze
|
||||||
|
|
||||||
# The ARM runners are typically over twice as fast as the Intel runners.
|
# The ARM runners are typically over twice as fast as the Intel runners.
|
||||||
runner_timeout = timeout
|
runner_timeout /= 2 if runner_timeout < GITHUB_ACTIONS_LONG_TIMEOUT
|
||||||
runner_timeout /= 2 if timeout < GITHUB_ACTIONS_LONG_TIMEOUT
|
|
||||||
spec = MacOSRunnerSpec.new(
|
spec = MacOSRunnerSpec.new(
|
||||||
name: "macOS #{version}-arm64",
|
name: "macOS #{version}-arm64",
|
||||||
runner: runner,
|
runner: runner,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user