|
|
@@ -10,8 +10,8 @@ on:
|
|
|
- '*'
|
|
|
|
|
|
jobs:
|
|
|
- macOS:
|
|
|
- name: Test macOS
|
|
|
+ macOS_5_1:
|
|
|
+ name: Test macOS (5.1)
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
@@ -19,11 +19,20 @@ jobs:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: macOS
|
|
|
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
+ macOS_5_2:
|
|
|
+ name: Test macOS (5.2)
|
|
|
+ runs-on: macOS-latest
|
|
|
+ env:
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@v2
|
|
|
+ - name: macOS
|
|
|
+ run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
|
|
|
Catalyst:
|
|
|
name: Test Catalyst
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: Catalyst
|
|
|
@@ -32,10 +41,10 @@ jobs:
|
|
|
name: Test iOS
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- destination: ["OS=13.3,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
|
|
|
+ destination: ["OS=13.4,name=iPhone 11 Pro"] #, "OS=12.4,name=iPhone XS", "OS=11.4,name=iPhone X", "OS=10.3.1,name=iPhone SE"]
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: iOS - ${{ matrix.destination }}
|
|
|
@@ -44,10 +53,10 @@ jobs:
|
|
|
name: Test tvOS
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- destination: ["OS=13.3,name=Apple TV 4K"] #, "OS=11.4,name=Apple TV 4K", "OS=10.2,name=Apple TV 1080p"]
|
|
|
+ destination: ["OS=13.4,name=Apple TV 4K"] #, "OS=11.4,name=Apple TV 4K", "OS=10.2,name=Apple TV 1080p"]
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: tvOS - ${{ matrix.destination }}
|
|
|
@@ -56,10 +65,10 @@ jobs:
|
|
|
name: Build watchOS
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- destination: ["OS=6.1.1,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"]
|
|
|
+ destination: ["OS=6.2,name=Apple Watch Series 5 - 44mm"] #, "OS=4.2,name=Apple Watch Series 3 - 42mm", "OS=3.2,name=Apple Watch Series 2 - 42mm"]
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: watchOS - ${{ matrix.destination }}
|
|
|
@@ -68,7 +77,7 @@ jobs:
|
|
|
name: Test with SPM
|
|
|
runs-on: macOS-latest
|
|
|
env:
|
|
|
- DEVELOPER_DIR: /Applications/Xcode_11.3.1.app/Contents/Developer
|
|
|
+ DEVELOPER_DIR: /Applications/Xcode_11.4.app/Contents/Developer
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
|
- name: SPM Test
|