Skip to content

Commit c7a3bca

Browse files
JohnTitormark-i-m
authored andcommittedAug 2, 2020
Adjust mentions about CI to GitHub Actions
1 parent f8012db commit c7a3bca

File tree

5 files changed

+23
-18
lines changed

5 files changed

+23
-18
lines changed
 

‎README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,16 @@ There is not a workaround for this error at the moment. Comment out the `[outpu
103103

104104
## How to fix toolstate failures
105105

106+
> **NOTE**: Currently, we do not track the toolstate due to the spurious failure,
107+
but we leave this for when we do it again in the future.
108+
106109
1. You will get a ping from the toolstate commit. e.g. https://github.com/rust-lang-nursery/rust-toolstate/commit/8ffa0e4c30ac9ba8546b7046e5c4ccc2b96ebdd4
107110

108111
2. The commit contains a link to the PR that caused the breakage. e.g. https://github.com/rust-lang/rust/pull/64321
109112

110113
3. If you go to that PR's thread, there is a post from bors with a link to the CI status: https://github.com/rust-lang/rust/pull/64321#issuecomment-529763807
111114

112-
4. Follow the check-azure link to get to the Azure website for that build: https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_build/results?buildId=7780
115+
4. Follow the check-actions link to get to the Actions page for that build
113116

114117
5. There will be approximately 1 billion different jobs for the build. They are for different configurations and platforms. The rustc-dev-guide build only runs on the Linux x86_64-gnu-tools job. So click on that job in the list, which is about 60% down in the list.
115118

‎src/notification-groups/llvm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ questions.
2121
The ["Debugging LLVM"][d] section of the
2222
rustc-dev-guide gives a step-by-step process for how to help debug bugs
2323
caused by LLVM. In particular, it discusses how to emit LLVM IR, run
24-
the LLVM IR optimization pipeliness, and so forth. You may also find
24+
the LLVM IR optimization pipelines, and so forth. You may also find
2525
it useful to look at the various codegen options listed under `-Chelp`
2626
and the internal options under `-Zhelp` -- there are a number that
2727
pertain to LLVM (just search for LLVM).

‎src/tests/intro.md

+13-11
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,29 @@ including:
116116

117117
## Testing infrastructure
118118

119-
When a Pull Request is opened on Github, [Azure Pipelines] will automatically
119+
When a Pull Request is opened on Github, [GitHub Actions] will automatically
120120
launch a build that will run all tests on some configurations
121-
(x86_64-gnu-llvm-6.0 linux. x86_64-gnu-tools linux, mingw-check linux). In
121+
(x86_64-gnu-llvm-8 linux. x86_64-gnu-tools linux, mingw-check linux). In
122122
essence, it runs `./x.py test` after building for each of them.
123123

124124
The integration bot [bors] is used for coordinating merges to the master
125125
branch. When a PR is approved, it goes into a [queue] where merges are tested
126-
one at a time on a wide set of platforms using Azure Pipelines (currently over
127-
50 different configurations). Most platforms only run the build steps, some run
128-
a restricted set of tests, only a subset run the full suite of tests (see
129-
Rust's [platform tiers]).
130-
131-
[Azure Pipelines]: https://dev.azure.com/rust-lang/rust/
126+
one at a time on a wide set of platforms using GitHub Actions (currently over
127+
50 different configurations). Due to the limit on the number of parallel jobs,
128+
we run CI under the [rust-lang-ci] organization except for PRs.
129+
Most platforms only run the build steps, some run a restricted set of tests,
130+
only a subset run the full suite of tests (see Rust's [platform tiers]).
131+
132+
[GitHub Actions]: https://github.com/rust-lang/rust/actions
133+
[rust-lang-ci]: https://github.com/rust-lang-ci/rust/actions
132134
[bors]: https://github.com/servo/homu
133135
[queue]: https://buildbot2.rust-lang.org/homu/queue/rust
134136
[platform tiers]: https://forge.rust-lang.org/release/platform-support.html#rust-platform-support
135137

136138
## Testing with Docker images
137139

138140
The Rust tree includes [Docker] image definitions for the platforms used on
139-
Azure Pipelines in [`src/ci/docker`]. The script [`src/ci/docker/run.sh`] is used to build
141+
GitHub Actions in [`src/ci/docker`]. The script [`src/ci/docker/run.sh`] is used to build
140142
the Docker image, run it, build Rust within the image, and run the tests.
141143

142144
You can run these images on your local development machine. This can be
@@ -260,9 +262,9 @@ above instructions for testing on a remote machine (in this case the
260262
remote machine is emulated).
261263

262264
There is also a set of tools for orchestrating running the
263-
tests within the emulator. Platforms such as `arm-android` and
265+
tests within the emulator. Platforms such as `arm-android` and
264266
`arm-unknown-linux-gnueabihf` are set up to automatically run the tests under
265-
emulation on Travis. The following will take a look at how a target's tests
267+
emulation on GitHub Actions. The following will take a look at how a target's tests
266268
are run under emulation.
267269

268270
The Docker image for [armhf-gnu] includes [QEMU] to emulate the ARM CPU

‎src/tests/running.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ you will almost never want to use! – is as follows:
99

1010
This will build the stage 1 compiler and then run the whole test
1111
suite. You probably don't want to do this very often, because it takes
12-
a very long time, and anyway bors / travis will do it for you. (Often,
13-
I will run this command in the background after opening a PR that I
14-
think is done, but rarely otherwise. -nmatsakis)
12+
a very long time, and anyway bors / GitHub Actions will do it for you.
13+
(Often, I will run this command in the background after opening a PR that
14+
I think is done, but rarely otherwise. -nmatsakis)
1515

1616
The test results are cached and previously successful tests are
1717
`ignored` during testing. The stdout/stderr contents as well as a

‎src/walkthrough.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ recognize that the PR won't be merged unless someone on the rust team approves
190190
it.
191191

192192
When your reviewer approves the PR, it will go into a queue for yet another bot
193-
called `@bors`. `@bors` manages the CI build/merge queue. When your PR reaches
193+
called `@bors`. `@bors` manages the CI build/merge queue. When your PR reaches
194194
the head of the `@bors` queue, `@bors` will test out the merge by running all
195-
tests against your PR on Travis CI. This takes a lot of time to
195+
tests against your PR on GitHub Actions. This takes a lot of time to
196196
finish. If all tests pass, the PR is merged and becomes part of the next
197197
nightly compiler!
198198

0 commit comments

Comments
 (0)
Please sign in to comment.