Skip to content
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

Enable building clippy in CI #45177

Merged
merged 2 commits into from
Oct 14, 2017
Merged

Enable building clippy in CI #45177

merged 2 commits into from
Oct 14, 2017

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Oct 10, 2017

r? @alexcrichton

As discussed at Rustfest. Measured additional time is 4 minutes on my machine if no dependencies are shared with other tools. In reality most dependencies are shared (especially the slow to compile ones like serde).

cc @Manishearth

Does not run clippy's test suite, since

a) it is nontrivial in the rustc build system
b) it breaks more frequently but the breakage is negligible

If clippy breaks, the procedure to follow is documented under https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#external-dependencies

@alexcrichton
Copy link
Member

@bors: r+

👍

@bors
Copy link
Contributor

bors commented Oct 10, 2017

📌 Commit 8e900aa has been approved by alexcrichton

@Manishearth
Copy link
Member

We should also ask folks to ping you/me/llogiq for clippy and you/scott for miri in the document? That way we can keep an eye out and help.

@@ -26,7 +26,7 @@
miri = "Broken"

# ping @Manishearth @llogiq @mcarton @oli-obk
clippy = "Broken"
clippy = "Building"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to break CI:

[00:02:42] failed to parse TOML configuration 'toolstate.toml': unknown variant `Building`, expected one of `Compiling`, `Testing`, `Broken` for key `clippy`

[00:02:42] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build nonexistent/path/to/trigger/cargo/metadata

[00:02:42] Build completed unsuccessfully in 0:01:16

[00:02:42] Makefile:79: recipe for target 'prepare' failed

[00:02:42] make: *** [prepare] Error 1

[00:02:42] Command failed. Attempt 2/5:

[00:02:42]     Finished dev [unoptimized] target(s) in 0.0 secs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Darn it... last minute changes are never a good idea... sorry about that. I also fixed the wrong docs on the top of the file

@oli-obk
Copy link
Contributor Author

oli-obk commented Oct 10, 2017

@Manishearth the pinging is already suggested in toolstate.toml

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Oct 10, 2017

📌 Commit c6c47fa has been approved by alexcrichton

@aidanhs aidanhs added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 12, 2017
@bors
Copy link
Contributor

bors commented Oct 14, 2017

⌛ Testing commit c6c47fa with merge 7778906...

bors added a commit that referenced this pull request Oct 14, 2017
Enable building clippy in CI

r? @alexcrichton

As discussed at Rustfest. Measured additional time is 4 minutes on my machine if no dependencies are shared with other tools. In reality most dependencies are shared (especially the slow to compile ones like serde).

cc @Manishearth

Does not run clippy's test suite, since

a) it is nontrivial in the rustc build system
b) it breaks more frequently but the breakage is negligible

If clippy breaks, the procedure to follow is documented under https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#external-dependencies
@bors
Copy link
Contributor

bors commented Oct 14, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 7778906 to master...

@bors bors merged commit c6c47fa into rust-lang:master Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants