Skip to content

Commit d76e138

Browse files
committed
Modify try-job documentation
1 parent 98bfe74 commit d76e138

File tree

1 file changed

+8
-5
lines changed
  • src/doc/rustc-dev-guide/src/tests

1 file changed

+8
-5
lines changed

Diff for: src/doc/rustc-dev-guide/src/tests/ci.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,17 @@ There are several use-cases for try builds:
134134
the [dist-x86_64-linux] CI job.
135135
- Run a specific CI job (e.g. Windows tests) on a PR, to quickly test if it
136136
passes the test suite executed by that job. You can select which CI jobs will
137-
be executed in the try build by adding up to 10 lines containing `try-job:
138-
<name of job>` to the PR description. All such specified jobs will be executed
137+
be executed in the try build by adding lines containing `try-job:
138+
<job patter>` to the PR description. All such specified jobs will be executed
139139
in the try build once the `@bors try` command is used on the PR. If no try
140140
jobs are specified in this way, the jobs defined in the `try` section of
141-
[`jobs.yml`] will be executed by default.
141+
[`jobs.yml`] will be executed by default. Each pattern can either be an exact
142+
name of a job or a glob pattern that matches multiple jobs, for example
143+
`*msvc*` or `*-alt`. You can start at most 20 jobs in a single try build.
142144

143145
> **Using `try-job` PR description directives**
144146
>
145-
> 1. Identify which set of try-jobs (max 10) you would like to exercise. You can
147+
> 1. Identify which set of try-jobs you would like to exercise. You can
146148
> find the name of the CI jobs in [`jobs.yml`].
147149
>
148150
> 2. Amend PR description to include (usually at the end of the PR description)
@@ -153,9 +155,10 @@ There are several use-cases for try builds:
153155
>
154156
> try-job: x86_64-msvc
155157
> try-job: test-various
158+
> try-job: *-alt
156159
> ```
157160
>
158-
> Each `try-job` directive must be on its own line.
161+
> Each `try-job` pattern must be on its own line.
159162
>
160163
> 3. Run the prescribed try jobs with `@bors try`. As aforementioned, this
161164
> requires the user to either (1) have `try` permissions or (2) be delegated

0 commit comments

Comments
 (0)