github_runner_matrix: increase timeout for self-hosted 12-x86_64

It is usually slower than other Intel runners and has timed out more
often recently.
This commit is contained in:
Ruoyu Zhong 2024-04-13 20:09:40 +08:00
parent 17d5ab381b
commit 3c3ee46f08
No known key found for this signature in database

View File

@ -144,6 +144,8 @@ class GitHubRunnerMatrix
["#{version}#{ephemeral_suffix}", runner_timeout] ["#{version}#{ephemeral_suffix}", runner_timeout]
end end
# macOS 12-x86_64 is usually slower.
timeout += 30 if !(use_github_runner && github_runner_available) && macos_version <= :monterey
spec = MacOSRunnerSpec.new( spec = MacOSRunnerSpec.new(
name: "macOS #{version}-x86_64", name: "macOS #{version}-x86_64",
runner:, runner:,