ci_matrix: convert version symbols to MacOSVersion
This commit is contained in:
@@ -52,7 +52,10 @@ module CiMatrix
|
||||
|
||||
filtered_runners = RUNNERS.select do |runner, _|
|
||||
required_macos.any? do |r|
|
||||
MacOSVersion.from_symbol(runner.fetch(:symbol)).compare(r.fetch(:comparator), r.fetch(:version))
|
||||
MacOSVersion.from_symbol(runner.fetch(:symbol)).compare(
|
||||
r.fetch(:comparator),
|
||||
MacOSVersion.from_symbol(r.fetch(:version)),
|
||||
)
|
||||
end
|
||||
end
|
||||
return filtered_runners unless filtered_runners.empty?
|
||||
|
||||
Reference in New Issue
Block a user