-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ci: Favor SCRIPT instead of RUST_CHECK_TARGET #61353
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
Conversation
Since rust-lang#61212 we've been timing out on OSX, and this looks to be because we're building tools like Cargo and the RLS twice instead of once. This turns out to be a slight bug in our configuration. CI builders using the `RUST_CHECK_TARGET` directive actually execute `make all` just before their acual target. In `make all` we're building a stage2 cargo, and then in `make dist` we're building a stage1 cargo. Other builders use `SCRIPT` which provides explicit control over what `x.py` script, for example, is used to execute the build. This moves almost all targets to using `SCRIPT` to ensure that we're explicitly specifying what's being built where. Additionally this updates the logic of `RUST_CHECK_TARGET` to remove the pre-flight tidy as well as the pre-flight `make all`. The system LLVM builder (run on PRs) now explicitly runs tidy first and then runs the rest of the test suite.
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors p=100 |
@bors r+ p=100 |
📌 Commit ebdf42e has been approved by |
⌛ Testing commit ebdf42e with merge 5243c12490f23af8632ad39e3775b33463a6f43c... |
💔 Test failed - checks-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors retry Spurious network error while downloading crates. |
ci: Favor SCRIPT instead of RUST_CHECK_TARGET Since #61212 we've been timing out on OSX, and this looks to be because we're building tools like Cargo and the RLS twice instead of once. This turns out to be a slight bug in our configuration. CI builders using the `RUST_CHECK_TARGET` directive actually execute `make all` just before their acual target. In `make all` we're building a stage2 cargo, and then in `make dist` we're building a stage1 cargo. Other builders use `SCRIPT` which provides explicit control over what `x.py` script, for example, is used to execute the build. This moves almost all targets to using `SCRIPT` to ensure that we're explicitly specifying what's being built where. Additionally this updates the logic of `RUST_CHECK_TARGET` to remove the pre-flight tidy as well as the pre-flight `make all`. The system LLVM builder (run on PRs) now explicitly runs tidy first and then runs the rest of the test suite.
☀️ Test successful - checks-travis, status-appveyor |
Since #61212 we've been timing out on OSX, and this looks to be because
we're building tools like Cargo and the RLS twice instead of once. This
turns out to be a slight bug in our configuration. CI builders using the
RUST_CHECK_TARGET
directive actually executemake all
just beforetheir acual target. In
make all
we're building a stage2 cargo, andthen in
make dist
we're building a stage1 cargo.Other builders use
SCRIPT
which provides explicit control over whatx.py
script, for example, is used to execute the build. This movesalmost all targets to using
SCRIPT
to ensure that we're explicitlyspecifying what's being built where. Additionally this updates the logic
of
RUST_CHECK_TARGET
to remove the pre-flight tidy as well as thepre-flight
make all
. The system LLVM builder (run on PRs) nowexplicitly runs tidy first and then runs the rest of the test suite.