Use `MacOSVersion` for CI matrix. (#146856)

This commit is contained in:
Markus Reiter 2023-05-10 01:39:08 +02:00 committed by GitHub
parent b8a309d8e3
commit 4f2bb32abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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?