|
|
@@ -21,57 +21,47 @@ concurrency:
|
|
|
group: ci
|
|
|
cancel-in-progress: true
|
|
|
jobs:
|
|
|
- macOS_5_1:
|
|
|
- name: Build macOS (5.1)
|
|
|
- runs-on: macOS-10.15
|
|
|
- env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
- timeout-minutes: 10
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - name: macOS (5.1)
|
|
|
- run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean build | xcpretty
|
|
|
- macOS_5_2:
|
|
|
- name: Test macOS (5.2)
|
|
|
+ macOS_5_3:
|
|
|
+ name: Test macOS 10.15 (5.3)
|
|
|
runs-on: macOS-10.15
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.7.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
|
run: brew install alamofire/alamofire/firewalk && firewalk &
|
|
|
- - name: macOS (5.2)
|
|
|
+ - name: macOS 10.15 (5.3)
|
|
|
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
- macOS_5_3:
|
|
|
- name: Test macOS (5.3)
|
|
|
- runs-on: macOS-10.15
|
|
|
+ macOS_5_4:
|
|
|
+ name: Test macOS 11 (5.4)
|
|
|
+ runs-on: macOS-11
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_12.5.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
|
run: brew install alamofire/alamofire/firewalk && firewalk &
|
|
|
- - name: macOS (5.3)
|
|
|
+ - name: macOS 11 (5.4)
|
|
|
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
- macOS_5_4:
|
|
|
- name: Test macOS (5.4)
|
|
|
+ macOS_5_5:
|
|
|
+ name: Test macOS 11 (5.5)
|
|
|
runs-on: firebreak
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
|
run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
- - name: macOS (5.4)
|
|
|
+ - name: macOS 11 (5.5)
|
|
|
run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
Catalyst:
|
|
|
name: Test Catalyst
|
|
|
- runs-on: macOS-10.15
|
|
|
+ runs-on: macOS-11
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
@@ -80,25 +70,10 @@ jobs:
|
|
|
- name: Catalyst
|
|
|
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
iOS:
|
|
|
- name: Test iOS
|
|
|
- runs-on: firebreak
|
|
|
- env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
|
|
|
- timeout-minutes: 10
|
|
|
- strategy:
|
|
|
- matrix:
|
|
|
- destination: ["OS=14.5,name=iPhone 12 Pro"]
|
|
|
- steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
- - name: Install Firewalk
|
|
|
- run: arch -arch arm64e brew install alamofire/alamofire/firewalk || arch -arch arm64e brew upgrade alamofire/alamofire/firewalk && arch -arch x86_64 firewalk &
|
|
|
- - name: iOS - ${{ matrix.destination }}
|
|
|
- run: set -o pipefail && arch -arch arm64e env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "${{ matrix.destination }}" clean test | xcpretty
|
|
|
- iOS_15:
|
|
|
name: Test iOS 15
|
|
|
runs-on: firebreak
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
strategy:
|
|
|
matrix:
|
|
|
@@ -113,11 +88,11 @@ jobs:
|
|
|
name: Test tvOS
|
|
|
runs-on: firebreak
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- destination: ["OS=14.5,name=Apple TV"]
|
|
|
+ destination: ["OS=15.0,name=Apple TV"]
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
|
@@ -128,11 +103,11 @@ jobs:
|
|
|
name: Test watchOS
|
|
|
runs-on: firebreak
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- destination: ["OS=7.4,name=Apple Watch Series 6 - 44mm"]
|
|
|
+ destination: ["OS=8.0,name=Apple Watch Series 7 - 45mm"]
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Install Firewalk
|
|
|
@@ -143,7 +118,7 @@ jobs:
|
|
|
name: Test with SPM
|
|
|
runs-on: firebreak
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_12.5.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_13.1.app/Contents/Developer
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
@@ -155,7 +130,7 @@ jobs:
|
|
|
name: Linux
|
|
|
runs-on: ubuntu-20.04
|
|
|
container:
|
|
|
- image: swift:5.4.1-focal
|
|
|
+ image: swift:5.5.1-focal
|
|
|
timeout-minutes: 10
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
@@ -181,7 +156,7 @@ jobs:
|
|
|
- uses: seanmiddleditch/gha-setup-vsdevenv@master
|
|
|
- name: Install Swift
|
|
|
run: |
|
|
|
- Install-Binary -Url "https://swift.org/builds/swift-5.4.1-release/windows10/swift-5.4.1-RELEASE/swift-5.4.1-RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
|
|
|
+ Install-Binary -Url "https://swift.org/builds/swift-5.5.1-release/windows10/swift-5.5.1-RELEASE/swift-5.5.1-RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
|
|
|
- name: Set Environment Variables
|
|
|
run: |
|
|
|
echo "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|