From 8fec5b70033507ca510cc34734de989d76a5baf1 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 7 May 2024 15:16:34 +0800 Subject: [PATCH 1/2] Try to fix the GitHub CI again because of macOS 14.4.1 --- .github/workflows/CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ee5a5ad4..920c95f0 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -49,7 +49,7 @@ jobs: macOSDestination: platform=macOS,arch=x86_64 macCatalystDestination: platform=macOS,arch=x86_64,variant=Mac Catalyst tvOSDestination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation) - watchOSDestination: platform=watchOS Simulator,name=Apple Watch Series 9 (45mm) + watchOSDestination: platform=watchOS Simulator,name=Apple Watch Ultra (49mm) visionOSDestination: platform=visionOS Simulator,name=Apple Vision Pro steps: - name: Checkout From 11dcb29b4feeb028bb1d8fa24da4860f47071d94 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Tue, 7 May 2024 15:43:32 +0800 Subject: [PATCH 2/2] Ignore the HEIC encoding unit test on GitHub CI environment Seems they use VM solution and breaks Apple's ImageIO HEIC encoding --- .../xcshareddata/xcschemes/Tests Mac.xcscheme | 7 ++++++ .../xcshareddata/xcschemes/Tests TV.xcscheme | 25 +++++++++++++++++++ .../xcschemes/Tests Vision.xcscheme | 16 ++++++++++++ .../xcshareddata/xcschemes/Tests iOS.xcscheme | 16 ++++++++++++ Tests/Tests/SDImageCoderTests.m | 20 ++++++--------- Tests/Tests/SDTestCase.h | 1 + Tests/Tests/SDTestCase.m | 13 ++++++++++ Tests/Tests/SDUtilsTests.m | 2 +- 8 files changed, 87 insertions(+), 13 deletions(-) diff --git a/Tests/SDWebImage Tests.xcodeproj/xcshareddata/xcschemes/Tests Mac.xcscheme b/Tests/SDWebImage Tests.xcodeproj/xcshareddata/xcschemes/Tests Mac.xcscheme index b0b382f7..292be3d4 100644 --- a/Tests/SDWebImage Tests.xcodeproj/xcshareddata/xcschemes/Tests Mac.xcscheme +++ b/Tests/SDWebImage Tests.xcodeproj/xcshareddata/xcschemes/Tests Mac.xcscheme @@ -69,6 +69,13 @@ ReferencedContainer = "container:SDWebImage Tests.xcodeproj"> + + + + + + + + @@ -51,6 +60,22 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> + + + + + + + + + + + + + + + + + + + + @@ -60,6 +69,13 @@ ReferencedContainer = "container:SDWebImage Tests.xcodeproj"> + + + +