Skip to content

Commit 7b33874

Browse files
committed
fix yaml
1 parent e4ac434 commit 7b33874

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -212,59 +212,57 @@ auto:
212212
- image: dist-x86_64-netbsd
213213
<<: *job-linux-4c
214214

215+
# The i686-gnu job is split into multiple jobs to run tests in parallel.
216+
# Here's the reasons for the two skip blocks in i686-gnu-1:
217+
# - first: skip tests that run in i686-gnu-2.
218+
# - second: skip tests that are unlikely to be platform specific, to speed up this slow job
215219
- image: i686-gnu-1
216220
env:
217221
IMAGE: i686-gnu
218222
SCRIPT: >
219223
python3 ../x.py --stage 2 test
220-
# Skip tests that we run in i686-gnu-2
224+
221225
--skip compiler
222226
--skip library
223227
--skip tidyselftest
224-
# Skip some tests that are unlikely to be platform specific, to speed up
225-
# this slow job.
228+
226229
--skip src/bootstrap
227230
--skip tests/rustdoc-js
228231
--skip src/tools/error_index_generator
229232
--skip src/tools/linkchecker
230233
<<: *job-linux-4c
231234

235+
# Skip tests that run in i686-gnu-1
232236
- image: i686-gnu-2
233237
env:
234238
IMAGE: i686-gnu
235239
SCRIPT: >
236240
python3 ../x.py --stage 2 test
237-
# Skip tests that we run in i686-gnu-1
238241
--skip tests
239242
--skip src
240243
--skip coverage-map
241244
--skip coverage-run
242-
# Skip some tests that are unlikely to be platform specific, to speed up
243-
# this slow job.
244-
--skip src/bootstrap
245-
--skip tests/rustdoc-js
246-
--skip src/tools/error_index_generator
247-
--skip src/tools/linkchecker
248245
<<: *job-linux-4c
249246

247+
# The i686-gnu-nopt job is split into multiple jobs to run tests in parallel.
248+
# i686-gnu-nopt-1 skips tests that run in i686-gnu-nopt-2
250249
- image: i686-gnu-nopt-1
251250
env:
252251
IMAGE: i686-gnu-nopt
253252
SCRIPT: >
254253
python3 ../x.py test --stage 0 --config /config/nopt-std-config.toml library/std &&
255254
python3 ../x.py --stage 2 test
256-
# Skip tests that we run in i686-gnu-nopt-1
257255
--skip compiler
258256
--skip library
259257
--skip tidyselftest
260258
<<: *job-linux-4c
261259

260+
# Skip tests that run in i686-gnu-nopt-1
262261
- image: i686-gnu-nopt-2
263262
env:
264263
IMAGE: i686-gnu-nopt
265264
SCRIPT: >
266265
python3 ../x.py --stage 2 test
267-
# Skip tests that we run in i686-gnu-nopt-1
268266
--skip tests
269267
--skip src
270268
--skip coverage-map

0 commit comments

Comments
 (0)