@@ -129,7 +129,7 @@ jobs:
129
129
# the github.sha is be the pre merge commit id for PRs.
130
130
# See https://github.community/t/github-sha-isnt-the-value-expected/17903/17906.
131
131
validate-spm :
132
- name : Validate SPM Static ${{matrix.package-file.name}}
132
+ name : Validate SPM Static
133
133
runs-on : macos-14
134
134
needs : [files-changed, assemble-xcframework-variant]
135
135
# Run the job only for PRs with related changes or non-PR events.
@@ -144,20 +144,14 @@ jobs:
144
144
uses : ./.github/actions/prepare-package.swift
145
145
with :
146
146
is-pr : ${{ github.event_name == 'pull_request' }}
147
- package-file : ${{matrix.package-file.name}}
148
147
- run : swift build
149
148
working-directory : Samples/macOS-SPM-CommandLine
150
149
- name : Run CI Diagnostics
151
150
if : failure()
152
151
run : ./scripts/ci-diagnostics.sh
153
- strategy :
154
- matrix :
155
- package-file :
156
- - name : Package.swift
157
-
158
152
159
153
validate-spm-dynamic :
160
- name : Validate SPM Dynamic ${{matrix.package-file.name}}
154
+ name : Validate SPM Dynamic
161
155
runs-on : macos-14
162
156
needs : [files-changed, assemble-xcframework-variant]
163
157
# Run the job only for PRs with related changes or non-PR events.
@@ -172,20 +166,14 @@ jobs:
172
166
uses : ./.github/actions/prepare-package.swift
173
167
with :
174
168
is-pr : ${{ github.event_name == 'pull_request' }}
175
- package-file : ${{matrix.package-file.name}}
176
169
- run : swift build
177
170
working-directory : Samples/SPM-Dynamic
178
171
- name : Run CI Diagnostics
179
172
if : failure()
180
173
run : ./scripts/ci-diagnostics.sh
181
- strategy :
182
- matrix :
183
- package-file :
184
- - name : Package.swift
185
-
186
174
187
175
swift-build :
188
- name : Build Swift Static ${{matrix.package-file.name}}
176
+ name : Build Swift Static
189
177
runs-on : macos-14
190
178
needs : [files-changed, assemble-xcframework-variant]
191
179
# Run the job only for PRs with related changes or non-PR events.
@@ -200,16 +188,10 @@ jobs:
200
188
uses : ./.github/actions/prepare-package.swift
201
189
with :
202
190
is-pr : ${{ github.event_name == 'pull_request' }}
203
- package-file : ${{matrix.package-file.name}}
204
191
- run : swift build
205
192
- name : Run CI Diagnostics
206
193
if : failure()
207
194
run : ./scripts/ci-diagnostics.sh
208
- strategy :
209
- matrix :
210
- package-file :
211
- - name : Package.swift
212
-
213
195
214
196
validate-spm-visionos :
215
197
name : Validate SPM Static visionOS
@@ -227,7 +209,6 @@ jobs:
227
209
uses : ./.github/actions/prepare-package.swift
228
210
with :
229
211
is-pr : ${{ github.event_name == 'pull_request' }}
230
-
231
212
- run : set -o pipefail &&xcodebuild build -scheme visionOS-SPM -sdk xros -destination 'generic/platform=xros' | tee raw-build-output-spm-visionOS.log | xcbeautify
232
213
working-directory : Samples/visionOS-SPM
233
214
- name : Run CI Diagnostics
0 commit comments