build: download visionOS SDK before CI/CD (#3757)
* build: download visionOS SDK before CI/CD
* Revert "build: download visionOS SDK before CI/CD"
This reverts commit ddbc45f524
.
* build: switch to macos-15 runner image
* build: xcode version limit to 16.0
This commit is contained in:
parent
d68b92db85
commit
a261180b95
|
@ -9,10 +9,10 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
Release:
|
Release:
|
||||||
name: Release XCFramework
|
name: Release XCFramework
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
CODESIGN_KEY_BASE64: "${{ secrets.CODESIGN_KEY_BASE64 }}"
|
CODESIGN_KEY_BASE64: "${{ secrets.CODESIGN_KEY_BASE64 }}"
|
||||||
DEVELOPER_DIR: /Applications/Xcode_15.2.app
|
DEVELOPER_DIR: /Applications/Xcode_16.0.app
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -14,9 +14,9 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
Lint:
|
Lint:
|
||||||
name: Cocoapods Lint
|
name: Cocoapods Lint
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_15.2.app
|
DEVELOPER_DIR: /Applications/Xcode_16.0.app
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -40,16 +40,16 @@ jobs:
|
||||||
|
|
||||||
Demo:
|
Demo:
|
||||||
name: Cocoapods Demo
|
name: Cocoapods Demo
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_15.2.app
|
DEVELOPER_DIR: /Applications/Xcode_16.0.app
|
||||||
WORKSPACE_NAME: SDWebImage.xcworkspace
|
WORKSPACE_NAME: SDWebImage.xcworkspace
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
iosDestination: platform=iOS Simulator,name=iPhone 15 Pro
|
iosDestination: platform=iOS Simulator,name=iPhone 16 Pro
|
||||||
macOSDestination: platform=macOS,arch=x86_64
|
macOSDestination: platform=macOS,arch=x86_64
|
||||||
macCatalystDestination: platform=macOS,arch=x86_64,variant=Mac Catalyst
|
macCatalystDestination: platform=macOS,arch=x86_64,variant=Mac Catalyst
|
||||||
tvOSDestination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
|
tvOSDestination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation)
|
||||||
watchOSDestination: platform=watchOS Simulator,name=Apple Watch Ultra (49mm)
|
watchOSDestination: platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)
|
||||||
visionOSDestination: platform=visionOS Simulator,name=Apple Vision Pro
|
visionOSDestination: platform=visionOS Simulator,name=Apple Vision Pro
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -94,9 +94,9 @@ jobs:
|
||||||
|
|
||||||
Test:
|
Test:
|
||||||
name: Unit Test
|
name: Unit Test
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_15.2.app
|
DEVELOPER_DIR: /Applications/Xcode_16.0.app
|
||||||
WORKSPACE_NAME: SDWebImage.xcworkspace
|
WORKSPACE_NAME: SDWebImage.xcworkspace
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
# use matrix to generate jobs for each platform
|
# use matrix to generate jobs for each platform
|
||||||
|
@ -106,7 +106,7 @@ jobs:
|
||||||
platform: [iOS, macOS, tvOS, visionOS]
|
platform: [iOS, macOS, tvOS, visionOS]
|
||||||
include:
|
include:
|
||||||
- platform: iOS
|
- platform: iOS
|
||||||
destination: platform=iOS Simulator,name=iPhone 15 Pro
|
destination: platform=iOS Simulator,name=iPhone 16 Pro
|
||||||
scheme: iOS
|
scheme: iOS
|
||||||
flag: ios
|
flag: ios
|
||||||
- platform: macOS
|
- platform: macOS
|
||||||
|
@ -160,9 +160,9 @@ jobs:
|
||||||
|
|
||||||
Build:
|
Build:
|
||||||
name: Build Library
|
name: Build Library
|
||||||
runs-on: macos-14
|
runs-on: macos-15
|
||||||
env:
|
env:
|
||||||
DEVELOPER_DIR: /Applications/Xcode_15.2.app
|
DEVELOPER_DIR: /Applications/Xcode_16.0.app
|
||||||
PROJECT_NAME: SDWebImage.xcodeproj
|
PROJECT_NAME: SDWebImage.xcodeproj
|
||||||
SCHEME_NAME: SDWebImage
|
SCHEME_NAME: SDWebImage
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue