Merge pull request #17222 from Homebrew/intel-runner-tag

github_runner_matrix: add `-x86_64` to Intel runner names
This commit is contained in:
Carlo Cabrera 2024-05-12 02:19:47 +08:00 committed by GitHub
commit 71c4bfae79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ class GitHubRunnerMatrix
runner, timeout = if use_github_runner && github_runner_available
["macos-#{version}", GITHUB_ACTIONS_RUNNER_TIMEOUT]
else
["#{version}#{ephemeral_suffix}", runner_timeout]
["#{version}-x86_64#{ephemeral_suffix}", runner_timeout]
end
# macOS 12-x86_64 is usually slower.

View File

@ -33,7 +33,7 @@ RSpec.describe Homebrew::DevCmd::DetermineTestRunners do
macos_version = MacOSVersion.new(v)
next if macos_version.unsupported_release?
out << v
out << "#{v}-x86_64"
out << "#{v}-arm64"
end