Skip to content

Commit f5f2011

Browse files
committed
document optional jobs
1 parent 86e05cd commit f5f2011

File tree

1 file changed

+7
-0
lines changed
  • src/doc/rustc-dev-guide/src/tests

1 file changed

+7
-0
lines changed

src/doc/rustc-dev-guide/src/tests/ci.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ for example `*msvc*` or `*-alt`. You can start at most 20 jobs in a single try b
148148
glob patterns, you might want to wrap them in backticks (`` ` ``) to avoid GitHub rendering
149149
the pattern as Markdown.
150150

151+
The job pattern needs to match one or more jobs defined in the `auto` or `optional` sections
152+
of [`jobs.yml`]:
153+
154+
- `auto` jobs are executed before a commit is merged into the `master` branch.
155+
- `optional` jobs are executed only when explicitly requested via a try build.
156+
They are typically used for tier 2 and tier 3 targets.
157+
151158
> **Using `try-job` PR description directives**
152159
>
153160
> 1. Identify which set of try-jobs you would like to exercise. You can

0 commit comments

Comments
 (0)