@@ -107,9 +107,6 @@ x--expand-yaml-anchors--remove:
107
107
- &job-aarch64-linux
108
108
os : [self-hosted, ARM64, linux]
109
109
110
- - &step
111
- if : success() && !env.SKIP_JOB
112
-
113
110
- &base-ci-job
114
111
defaults :
115
112
run :
@@ -151,7 +148,7 @@ x--expand-yaml-anchors--remove:
151
148
run : echo "[CI_PR_NUMBER=$num]"
152
149
env :
153
150
num : ${{ github.event.number }}
154
- if : success() && !env.SKIP_JOB && github.event_name == 'pull_request'
151
+ if : success() && github.event_name == 'pull_request'
155
152
156
153
- name : add extra environment variables
157
154
run : src/ci/scripts/setup-environment.sh
@@ -161,67 +158,51 @@ x--expand-yaml-anchors--remove:
161
158
# are passed to the `setup-environment.sh` script encoded in JSON,
162
159
# which then uses log commands to actually set them.
163
160
EXTRA_VARIABLES : ${{ toJson(matrix.env) }}
164
- << : *step
165
161
166
162
- name : ensure the channel matches the target branch
167
163
run : src/ci/scripts/verify-channel.sh
168
- << : *step
169
164
170
165
- name : collect CPU statistics
171
166
run : src/ci/scripts/collect-cpu-stats.sh
172
- << : *step
173
167
174
168
- name : show the current environment
175
169
run : src/ci/scripts/dump-environment.sh
176
- << : *step
177
170
178
171
- name : install awscli
179
172
run : src/ci/scripts/install-awscli.sh
180
- << : *step
181
173
182
174
- name : install sccache
183
175
run : src/ci/scripts/install-sccache.sh
184
- << : *step
185
176
186
177
- name : select Xcode
187
178
run : src/ci/scripts/select-xcode.sh
188
- << : *step
189
179
190
180
- name : install clang
191
181
run : src/ci/scripts/install-clang.sh
192
- << : *step
193
182
194
183
- name : install tidy
195
184
run : src/ci/scripts/install-tidy.sh
196
- << : *step
197
185
198
186
- name : install WIX
199
187
run : src/ci/scripts/install-wix.sh
200
- << : *step
201
188
202
189
- name : disable git crlf conversion
203
190
run : src/ci/scripts/disable-git-crlf-conversion.sh
204
- << : *step
205
191
206
192
- name : checkout submodules
207
193
run : src/ci/scripts/checkout-submodules.sh
208
- << : *step
209
194
210
195
- name : install MSYS2
211
196
run : src/ci/scripts/install-msys2.sh
212
- << : *step
213
197
214
198
- name : install MinGW
215
199
run : src/ci/scripts/install-mingw.sh
216
- << : *step
217
200
218
201
- name : install ninja
219
202
run : src/ci/scripts/install-ninja.sh
220
- << : *step
221
203
222
204
- name : enable ipv6 on Docker
223
205
run : src/ci/scripts/enable-docker-ipv6.sh
224
- << : *step
225
206
226
207
# Disable automatic line ending conversion (again). On Windows, when we're
227
208
# installing dependencies, something switches the git configuration directory or
@@ -230,19 +211,15 @@ x--expand-yaml-anchors--remove:
230
211
# appropriate line endings.
231
212
- name : disable git crlf conversion
232
213
run : src/ci/scripts/disable-git-crlf-conversion.sh
233
- << : *step
234
214
235
215
- name : ensure line endings are correct
236
216
run : src/ci/scripts/verify-line-endings.sh
237
- << : *step
238
217
239
218
- name : ensure backported commits are in upstream branches
240
219
run : src/ci/scripts/verify-backported-commits.sh
241
- << : *step
242
220
243
221
- name : ensure the stable version number is correct
244
222
run : src/ci/scripts/verify-stable-version-number.sh
245
- << : *step
246
223
247
224
- name : run the build
248
225
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
@@ -251,11 +228,9 @@ x--expand-yaml-anchors--remove:
251
228
AWS_ACCESS_KEY_ID : ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
252
229
AWS_SECRET_ACCESS_KEY : ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
253
230
TOOLSTATE_REPO_ACCESS_TOKEN : ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
254
- << : *step
255
231
256
232
- name : create github artifacts
257
233
run : src/ci/scripts/create-doc-artifacts.sh
258
- << : *step
259
234
260
235
- name : upload artifacts to github
261
236
uses : actions/upload-artifact@v4
@@ -265,7 +240,6 @@ x--expand-yaml-anchors--remove:
265
240
path : obj/artifacts/doc
266
241
if-no-files-found : ignore
267
242
retention-days : 5
268
- << : *step
269
243
270
244
- name : upload artifacts to S3
271
245
run : src/ci/scripts/upload-artifacts.sh
@@ -277,8 +251,7 @@ x--expand-yaml-anchors--remove:
277
251
# adding the condition is helpful as this way CI will not silently skip
278
252
# deploying artifacts from a dist builder if the variables are misconfigured,
279
253
# erroring about invalid credentials instead.
280
- if : success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')
281
- << : *step
254
+ if : success() && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')
282
255
283
256
# These snippets are used by the try-success, try-failure, auto-success and auto-failure jobs.
284
257
# Check out their documentation for more information on why they're needed.
@@ -395,7 +368,6 @@ jobs:
395
368
shell : bash
396
369
env :
397
370
TOOLSTATE_REPO_ACCESS_TOKEN : ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}
398
- << : *step
399
371
400
372
# These jobs don't actually test anything, but they're used to tell bors the
401
373
# build completed, as there is no practical way to detect when a workflow is
0 commit comments