From 13265ca170a2e28572ab4cb3730aa2bc42d395b3 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 13 Nov 2024 23:10:38 +0800 Subject: [PATCH] os/mac/diagnostic: skip OpenCore check in CI --- Library/Homebrew/extend/os/mac/diagnostic.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 24a2920856104..9fc366a8bfd1b 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -130,6 +130,7 @@ def check_for_unsupported_macos def check_for_opencore return if ::Hardware::CPU.physical_cpu_arm64? + return if ENV["CI"] # https://dortania.github.io/OpenCore-Legacy-Patcher/UPDATE.html#checking-oclp-and-opencore-versions begin @@ -141,7 +142,7 @@ def check_for_opencore end <<~EOS - You have installed macOS using OpenCore Legacy Patcher, version #{opencore_version}. + You have installed macOS using OpenCore Legacy Patcher. We do not provide support for this configuration. #{please_create_pull_requests} EOS