5
5
pull_request :
6
6
branches : ' *'
7
7
env :
8
- CI_XCODE_VER : ' /Applications/Xcode_12.5.1.app/Contents/Developer'
8
+ CI_XCODE_OLDEST : ' /Applications/Xcode_12.5.1.app/Contents/Developer'
9
9
CI_XCODE_13 : ' /Applications/Xcode_13.4.1.app/Contents/Developer'
10
+ CI_XCODE_LATEST : ' /Applications/Xcode_14.0.app/Contents/Developer'
10
11
11
12
jobs :
12
13
xcode-test-ios :
@@ -18,23 +19,23 @@ jobs:
18
19
- name : Build-Test
19
20
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
21
env :
21
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
22
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
22
23
- name : Prepare codecov
23
24
uses : sersoft-gmbh/swift-coverage-action@v3
24
25
id : coverage-files
25
26
with :
26
27
format : lcov
27
28
search-paths : ./DerivedData
28
29
env :
29
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
30
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
30
31
- name : Upload coverage to Codecov
31
32
uses : codecov/codecov-action@v2
32
33
with :
33
34
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
34
35
env_vars : IOS
35
36
fail_ci_if_error : true
36
37
env :
37
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
38
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
38
39
39
40
xcode-test-macos :
40
41
runs-on : macos-12
@@ -51,23 +52,23 @@ jobs:
51
52
- name : Build-Test
52
53
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
54
env :
54
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
55
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
55
56
- name : Prepare codecov
56
57
uses : sersoft-gmbh/swift-coverage-action@v3
57
58
id : coverage-files
58
59
with :
59
60
format : lcov
60
61
search-paths : ./DerivedData
61
62
env :
62
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
63
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
63
64
- name : Upload coverage to Codecov
64
65
uses : codecov/codecov-action@v3
65
66
with :
66
67
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
67
68
env_vars : MACOS
68
69
fail_ci_if_error : true
69
70
env :
70
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
71
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
71
72
72
73
xcode-test-tvos :
73
74
runs-on : macos-12
@@ -78,23 +79,23 @@ jobs:
78
79
- name : Build
79
80
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
81
env :
81
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
82
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
82
83
- name : Prepare codecov
83
84
uses : sersoft-gmbh/swift-coverage-action@v3
84
85
id : coverage-files
85
86
with :
86
87
format : lcov
87
88
search-paths : ./DerivedData
88
89
env :
89
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
90
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
90
91
- name : Upload coverage to Codecov
91
92
uses : codecov/codecov-action@v3
92
93
with :
93
94
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
94
95
env_vars : TVOS
95
96
fail_ci_if_error : true
96
97
env :
97
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
98
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
98
99
99
100
xcode-build-watchos :
100
101
runs-on : macos-12
@@ -105,13 +106,13 @@ jobs:
105
106
- name : Build
106
107
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -target ParseSwift\ \(watchOS\) | xcpretty
107
108
env :
108
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
109
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
109
110
- name : Upload coverage to Codecov
110
111
uses : codecov/codecov-action@v3
111
112
with :
112
113
env_vars : WATCHOS
113
114
env :
114
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
115
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
115
116
116
117
spm-test :
117
118
runs-on : macos-12
@@ -128,23 +129,23 @@ jobs:
128
129
- name : Build and Test
129
130
run : swift test --enable-code-coverage -v
130
131
env :
131
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
132
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
132
133
- name : Prepare codecov
133
134
uses : sersoft-gmbh/swift-coverage-action@v3
134
135
id : coverage-files
135
136
with :
136
137
format : lcov
137
138
search-paths : ./.build
138
139
env :
139
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
140
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
140
141
- name : Upload coverage to Codecov
141
142
uses : codecov/codecov-action@v3
142
143
with :
143
144
files : ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}}
144
145
env_vars : SPM
145
146
fail_ci_if_error : true
146
147
env :
147
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
148
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
148
149
149
150
spm-test-5_2 :
150
151
needs : xcode-build-watchos
@@ -154,7 +155,7 @@ jobs:
154
155
- name : Build-Test
155
156
run : set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace Parse.xcworkspace -scheme ParseSwift\ \(iOS\) -destination platform\=iOS\ Simulator,name\=iPhone\ 11 -derivedDataPath DerivedData clean test | xcpretty
156
157
env :
157
- DEVELOPER_DIR : ${{ env.CI_XCODE_VER }}
158
+ DEVELOPER_DIR : ${{ env.CI_XCODE_OLDEST }}
158
159
- name : Prepare codecov
159
160
uses : sersoft-gmbh/swift-coverage-action@v3
160
161
id : coverage-files
@@ -168,7 +169,7 @@ jobs:
168
169
env_vars : IOS_Earliest
169
170
fail_ci_if_error : true
170
171
env :
171
- DEVELOPER_DIR : ${{ env.CI_XCODE_VER }}
172
+ DEVELOPER_DIR : ${{ env.CI_XCODE_OLDEST }}
172
173
173
174
linux :
174
175
runs-on : ubuntu-18.04
@@ -233,7 +234,7 @@ jobs:
233
234
- name : Generate Docs
234
235
run : set -o pipefail && env NSUnbufferedIO=YES Scripts/generate-documentation
235
236
env :
236
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
237
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
237
238
238
239
cocoapods :
239
240
needs : xcode-build-watchos
@@ -261,4 +262,4 @@ jobs:
261
262
- name : Carthage
262
263
run : ./Scripts/carthage.sh build --no-skip-current --use-xcframeworks
263
264
env :
264
- DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
265
+ DEVELOPER_DIR : ${{ env.CI_XCODE_LATEST }}
0 commit comments