6
6
branches : ' *'
7
7
env :
8
8
CI_XCODE_VER : ' /Applications/Xcode_11.7.app/Contents/Developer'
9
- CI_XCODE_13 : ' /Applications/Xcode_13.2.1 .app/Contents/Developer'
9
+ CI_XCODE_13 : ' /Applications/Xcode_13.3 .app/Contents/Developer'
10
10
11
11
jobs :
12
12
xcode-test-ios :
13
- runs-on : macos-latest
13
+ runs-on : macos-12
14
14
steps :
15
15
- uses : actions/checkout@v2
16
- # - name: Use multiple cores
17
- # run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
16
+ - name : Use multiple cores
17
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
18
18
- name : Build-Test
19
19
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(iOS\) -destination platform\=iOS\ Simulator,name\=iPhone\ 12\ Pro\ Max -derivedDataPath DerivedData -test-iterations 10 -retry-tests-on-failure clean test | xcpretty
20
20
env :
37
37
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
38
38
39
39
xcode-test-macos :
40
- runs-on : macos-latest
40
+ runs-on : macos-12
41
41
steps :
42
42
- uses : actions/checkout@v2
43
43
- name : Create and set the default keychain
46
46
security default-keychain -s temporary
47
47
security unlock-keychain -p "" temporary
48
48
security set-keychain-settings -lut 7200 temporary
49
- # - name: Use multiple cores
50
- # run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
49
+ - name : Use multiple cores
50
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
51
51
- name : Build-Test
52
52
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(macOS\) -destination platform\=macOS -derivedDataPath DerivedData -test-iterations 10 -retry-tests-on-failure clean test | xcpretty
53
53
env :
@@ -70,11 +70,11 @@ jobs:
70
70
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
71
71
72
72
xcode-test-tvos :
73
- runs-on : macos-latest
73
+ runs-on : macos-12
74
74
steps :
75
75
- uses : actions/checkout@v2
76
- # - name: Use multiple cores
77
- # run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
76
+ - name : Use multiple cores
77
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
78
78
- name : Build
79
79
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(tvOS\) -destination platform\=tvOS\ Simulator,name\=Apple\ TV -derivedDataPath DerivedData -test-iterations 10 -retry-tests-on-failure clean test | xcpretty
80
80
env :
@@ -97,11 +97,11 @@ jobs:
97
97
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
98
98
99
99
xcode-build-watchos :
100
- runs-on : macos-latest
100
+ runs-on : macos-12
101
101
steps :
102
102
- uses : actions/checkout@v2
103
- # - name: Use multiple cores
104
- # run: defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
103
+ - name : Use multiple cores
104
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
105
105
- name : Build
106
106
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -target ParseSwift\ \(watchOS\) | xcpretty
107
107
env :
@@ -114,7 +114,7 @@ jobs:
114
114
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
115
115
116
116
spm-test :
117
- runs-on : macos-latest
117
+ runs-on : macos-12
118
118
steps :
119
119
- uses : actions/checkout@v2
120
120
- name : Create and set the default keychain
@@ -205,34 +205,23 @@ jobs:
205
205
206
206
docs :
207
207
needs : xcode-build-watchos
208
- runs-on : macos-latest
208
+ runs-on : macos-12
209
209
steps :
210
210
- uses : actions/checkout@v2
211
- # - name: Build
212
- # run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild docbuild -scheme ParseSwift\ \(macOS\) -derivedDataPath DerivedData | xcpretty
213
- - name : Cache Gems
214
- id : cache-gems
215
- uses : actions/cache@v2
216
- with :
217
- path : vendor/bundle
218
- key : ${{ runner.os }}-gem-v4-${{ hashFiles('**/Gemfile.lock') }}
219
- restore-keys : |
220
- ${{ runner.os }}-gem-v4
221
- - name : Install Bundle
222
- run : |
223
- bundle config path vendor/bundle
224
- bundle install
225
- - name : Create Jazzy Docs
226
- run : ./Scripts/jazzy.sh
211
+ - name : Use multiple cores
212
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
213
+ - name : Generate Docs
214
+ run : set -o pipefail && env NSUnbufferedIO=YES Scripts/generate-documentation
227
215
env :
228
- BUILD_VERSION : ' 1.8.3'
229
216
DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
230
217
231
218
cocoapods :
232
219
needs : xcode-build-watchos
233
- runs-on : macos-latest
220
+ runs-on : macos-12
234
221
steps :
235
222
- uses : actions/checkout@v2
223
+ - name : Use multiple cores
224
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
236
225
- name : Update Framework Version
237
226
run : ./Scripts/update_build
238
227
env :
@@ -244,9 +233,11 @@ jobs:
244
233
245
234
carthage :
246
235
needs : xcode-build-watchos
247
- runs-on : macos-latest
236
+ runs-on : macos-12
248
237
steps :
249
238
- uses : actions/checkout@v2
239
+ - name : Use multiple cores
240
+ run : defaults write com.apple.dt.XCBuild EnableSwiftBuildSystemIntegration 1
250
241
- name : Carthage
251
242
run : ./carthage.sh build --no-skip-current --use-xcframeworks
252
243
env :
0 commit comments