Use `MacOSVersion` for CI matrix. (#146856)
This commit is contained in:
parent
b8a309d8e3
commit
4f2bb32abe
|
@ -52,7 +52,7 @@ module CiMatrix
|
|||
|
||||
filtered_runners = RUNNERS.select do |runner, _|
|
||||
required_macos.any? do |r|
|
||||
MacOS::Version.from_symbol(runner.fetch(:symbol)).public_send(r.fetch(:comparator), r.fetch(:version))
|
||||
MacOSVersion.from_symbol(runner.fetch(:symbol)).compare(r.fetch(:comparator), r.fetch(:version))
|
||||
end
|
||||
end
|
||||
return filtered_runners unless filtered_runners.empty?
|
||||
|
|
Loading…
Reference in New Issue