From 23b0751ac871e7b8aedbf58c1436aedf5e83c51c Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Fri, 23 Feb 2024 16:16:14 +0800 Subject: [PATCH] [github action] Bumped to macos-14 and remove the unused visionOS download toolchain steps --- .github/workflows/CI.yml | 32 ++++---------------------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 31b37ef2..2ed220cd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,19 +14,13 @@ permissions: jobs: Lint: name: Cocoapods Lint - runs-on: macos-13 + runs-on: macos-14 env: DEVELOPER_DIR: /Applications/Xcode_15.2.app steps: - name: Checkout uses: actions/checkout@v3 - - name: Prepare VisionOS - run: | - defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES - defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES - xcodebuild -downloadPlatform visionOS - - name: Install Cocoapods run: gem install cocoapods --no-document --quiet @@ -46,7 +40,7 @@ jobs: Demo: name: Cocoapods Demo - runs-on: macos-13 + runs-on: macos-14 env: DEVELOPER_DIR: /Applications/Xcode_15.2.app WORKSPACE_NAME: SDWebImage.xcworkspace @@ -61,12 +55,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Prepare VisionOS - run: | - defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES - defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES - xcodebuild -downloadPlatform visionOS - - name: Install Cocoapods run: gem install cocoapods --no-document --quiet @@ -106,7 +94,7 @@ jobs: Test: name: Unit Test - runs-on: macos-13 + runs-on: macos-14 env: DEVELOPER_DIR: /Applications/Xcode_15.2.app WORKSPACE_NAME: SDWebImage.xcworkspace @@ -121,12 +109,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Prepare VisionOS - run: | - defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES - defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES - xcodebuild -downloadPlatform visionOS - - name: Install Cocoapods run: gem install cocoapods --no-document --quiet @@ -180,7 +162,7 @@ jobs: Build: name: Build Library - runs-on: macos-13 + runs-on: macos-14 env: DEVELOPER_DIR: /Applications/Xcode_15.2.app PROJECT_NAME: SDWebImage.xcodeproj @@ -189,12 +171,6 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Prepare VisionOS - run: | - defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES - defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES - xcodebuild -downloadPlatform visionOS - - name: Build the SwiftPM run: | set -o pipefail