Use MacOSVersion for CI matrix. (#146856)

This commit is contained in:
Markus Reiter
2023-05-10 07:39:08 +08:00
committed by GitHub
parent b8a309d8e3
commit 4f2bb32abe
+1 -1
View File
@@ -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?