72
72
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire macOS" -destination "platform=macOS" clean test | xcpretty
73
73
Catalyst :
74
74
name : Test Catalyst
75
- runs-on : macOS-11
75
+ runs-on : macOS-12
76
76
env :
77
- DEVELOPER_DIR : /Applications/Xcode_13.2 .1.app/Contents/Developer
77
+ DEVELOPER_DIR : /Applications/Xcode_13.3 .1.app/Contents/Developer
78
78
timeout-minutes : 10
79
79
steps :
80
80
- uses : actions/checkout@v2
84
84
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire iOS" -destination "platform=macOS" clean test | xcpretty
85
85
Latest :
86
86
name : Test Latest (iOS, tvOS, watchOS)
87
- runs-on : firebreak
88
- defaults :
89
- run :
90
- shell : " /usr/bin/arch -arch arm64e /bin/zsh {0}"
87
+ runs-on : macOS-12
91
88
env :
92
89
DEVELOPER_DIR : " /Applications/Xcode_13.3.1.app/Contents/Developer"
93
90
timeout-minutes : 10
@@ -107,7 +104,7 @@ jobs:
107
104
steps :
108
105
- uses : actions/checkout@v2
109
106
- name : Install Firewalk
110
- run : brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
107
+ run : brew install alamofire/alamofire/firewalk && firewalk &
111
108
- name : ${{ matrix.name }}
112
109
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" clean test | xcpretty
113
110
iOS :
@@ -117,7 +114,7 @@ jobs:
117
114
run :
118
115
shell : " /usr/bin/arch -arch arm64e /bin/zsh {0}"
119
116
env :
120
- DEVELOPER_DIR : " /Applications/Xcode_13.3.app/Contents/Developer"
117
+ DEVELOPER_DIR : " /Applications/Xcode_13.3.1. app/Contents/Developer"
121
118
timeout-minutes : 10
122
119
strategy :
123
120
fail-fast : false
@@ -186,9 +183,9 @@ jobs:
186
183
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "Alamofire watchOS" -destination "${{ matrix.destination }}" clean test | xcpretty
187
184
Thread_Sanitizer :
188
185
name : Test Thread Sanitizer
189
- runs-on : macOS-11
186
+ runs-on : macOS-12
190
187
env :
191
- DEVELOPER_DIR : " /Applications/Xcode_13.2 .1.app/Contents/Developer"
188
+ DEVELOPER_DIR : " /Applications/Xcode_13.3 .1.app/Contents/Developer"
192
189
timeout-minutes : 10
193
190
strategy :
194
191
fail-fast : false
@@ -199,15 +196,15 @@ jobs:
199
196
testPlan : " macOS-TS"
200
197
name : " macOS Thread Sanitizer"
201
198
- scheme : " Alamofire iOS"
202
- destination : " OS=15.2 ,name=iPhone 13 Pro"
199
+ destination : " OS=15.4 ,name=iPhone 13 Pro"
203
200
testPlan : " iOS-TS"
204
201
name : " iOS Thread Sanitizer"
205
202
- scheme : " Alamofire tvOS"
206
- destination : " OS=15.2 ,name=Apple TV"
203
+ destination : " OS=15.4 ,name=Apple TV"
207
204
testPlan : " tvOS-TS"
208
205
name : " tvOS Thread Sanitizer"
209
206
- scheme : " Alamofire watchOS"
210
- destination : " OS=8.3 ,name=Apple Watch Series 7 - 45mm"
207
+ destination : " OS=8.5 ,name=Apple Watch Series 7 - 45mm"
211
208
testPlan : " watchOS-TS"
212
209
name : " watchOS Thread Sanitizer"
213
210
steps :
@@ -217,21 +214,6 @@ jobs:
217
214
- name : ${{ matrix.name }}
218
215
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "Alamofire.xcodeproj" -scheme "${{ matrix.scheme }}" -destination "${{ matrix.destination }}" -testPlan "${{ matrix.testPlan }}" clean test | xcpretty
219
216
SPM :
220
- name : Test with SPM
221
- runs-on : firebreak
222
- defaults :
223
- run :
224
- shell : " /usr/bin/arch -arch arm64e /bin/zsh {0}"
225
- env :
226
- DEVELOPER_DIR : " /Applications/Xcode_13.3.1.app/Contents/Developer"
227
- timeout-minutes : 10
228
- steps :
229
- - uses : actions/checkout@v2
230
- - name : Install Firewalk
231
- run : brew install alamofire/alamofire/firewalk || brew upgrade alamofire/alamofire/firewalk && firewalk &
232
- - name : Test SPM
233
- run : swift test -c debug
234
- SPM_Older :
235
217
name : Test with SPM
236
218
runs-on : ${{ matrix.runsOn }}
237
219
env :
@@ -241,6 +223,9 @@ jobs:
241
223
fail-fast : false
242
224
matrix :
243
225
include :
226
+ - xcode : " Xcode_13.3.1.app"
227
+ runsOn : macOS-12
228
+ name : " macOS 12, SPM 5.6 Build"
244
229
- xcode : " Xcode_13.2.1.app"
245
230
runsOn : macOS-11
246
231
name : " macOS 11, SPM 5.5 Build"
@@ -286,7 +271,7 @@ jobs:
286
271
- uses : seanmiddleditch/gha-setup-vsdevenv@master
287
272
- name : Install Swift
288
273
run : |
289
- Install-Binary -Url "https://download.swift.org/swift-5.6.1 -release/windows10/swift-5.6.1 -RELEASE/swift-5.6.1 -RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
274
+ Install-Binary -Url "https://download.swift.org/swift-5.6-release/windows10/swift-5.6-RELEASE/swift-5.6-RELEASE-windows10.exe" -Name "installer.exe" -ArgumentList ("-q")
290
275
- name : Set Environment Variables
291
276
run : |
292
277
echo "SDKROOT=C:\Library\Developer\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
0 commit comments