-
Notifications
You must be signed in to change notification settings - Fork 549
Adjust mentions about CI to GitHub Actions #816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,27 +116,29 @@ including: | |
|
||
## Testing infrastructure | ||
|
||
When a Pull Request is opened on Github, [Azure Pipelines] will automatically | ||
When a Pull Request is opened on Github, [GitHub Actions] will automatically | ||
launch a build that will run all tests on some configurations | ||
(x86_64-gnu-llvm-6.0 linux. x86_64-gnu-tools linux, mingw-check linux). In | ||
(x86_64-gnu-llvm-8 linux. x86_64-gnu-tools linux, mingw-check linux). In | ||
essence, it runs `./x.py test` after building for each of them. | ||
|
||
The integration bot [bors] is used for coordinating merges to the master | ||
branch. When a PR is approved, it goes into a [queue] where merges are tested | ||
one at a time on a wide set of platforms using Azure Pipelines (currently over | ||
50 different configurations). Most platforms only run the build steps, some run | ||
a restricted set of tests, only a subset run the full suite of tests (see | ||
Rust's [platform tiers]). | ||
|
||
[Azure Pipelines]: https://dev.azure.com/rust-lang/rust/ | ||
one at a time on a wide set of platforms using GitHub Actions (currently over | ||
50 different configurations). Due to the limit on the number of parallel jobs, | ||
we run CI under the [rust-lang-ci] organization except for PRs. | ||
Comment on lines
+127
to
+128
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Is this correct? @Mark-Simulacrum |
||
Most platforms only run the build steps, some run a restricted set of tests, | ||
only a subset run the full suite of tests (see Rust's [platform tiers]). | ||
|
||
[GitHub Actions]: https://github.com/rust-lang/rust/actions | ||
[rust-lang-ci]: https://github.com/rust-lang-ci/rust/actions | ||
[bors]: https://github.com/servo/homu | ||
[queue]: https://buildbot2.rust-lang.org/homu/queue/rust | ||
[platform tiers]: https://forge.rust-lang.org/release/platform-support.html#rust-platform-support | ||
|
||
## Testing with Docker images | ||
|
||
The Rust tree includes [Docker] image definitions for the platforms used on | ||
Azure Pipelines in [`src/ci/docker`]. The script [`src/ci/docker/run.sh`] is used to build | ||
GitHub Actions in [`src/ci/docker`]. The script [`src/ci/docker/run.sh`] is used to build | ||
the Docker image, run it, build Rust within the image, and run the tests. | ||
|
||
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 | |
remote machine is emulated). | ||
|
||
There is also a set of tools for orchestrating running the | ||
tests within the emulator. Platforms such as `arm-android` and | ||
tests within the emulator. Platforms such as `arm-android` and | ||
`arm-unknown-linux-gnueabihf` are set up to automatically run the tests under | ||
emulation on Travis. The following will take a look at how a target's tests | ||
emulation on GitHub Actions. The following will take a look at how a target's tests | ||
are run under emulation. | ||
|
||
The Docker image for [armhf-gnu] includes [QEMU] to emulate the ARM CPU | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.