Merge pull request #15374 from carlocab/longer-arm-timeout

github_runner_matrix: align Intel and ARM timeouts
This commit is contained in:
Markus Reiter 2023-05-06 23:21:01 +02:00 committed by GitHub
commit 1120812378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,8 +158,7 @@ class GitHubRunnerMatrix
runner.freeze
# The ARM runners are typically over twice as fast as the Intel runners.
runner_timeout = timeout
runner_timeout /= 2 if timeout < GITHUB_ACTIONS_LONG_TIMEOUT
runner_timeout /= 2 if runner_timeout < GITHUB_ACTIONS_LONG_TIMEOUT
spec = MacOSRunnerSpec.new(
name: "macOS #{version}-arm64",
runner: runner,