-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Add Stylo and WebRender to src/tools/cargotest #44603
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Awesome, thanks @SimonSapin! @alexcrichton, see any issue with this? |
Thanks yeah! Looking into this to make sure it can work. Right now Along those lines I'm a little worried that this is going to push us over the 2 hour "soft limit". I think along those lines to land this PR we should allocate a new builder rather than tack on an existing one. We've got some good headroom with capacity on Travis and seeing how this is indeed directly in Mozilla's interests (the organization footing the Travis bill currently) I think it's fine to just go ahead and do this. @SimonSapin to do this, can you...
That should give us tons of headroom for expanding cargotest after that! |
@alexcrichton Done, and added a line in |
@bors: r+ Oh that's ok, that's what we have bors for! |
📌 Commit a589684 has been approved by |
@bors: rollup |
Add Stylo and WebRender to src/tools/cargotest This is a subset of Servo that takes relatively less time to compile and does not use unstable Rust features.
@bors: rollup- r- one bug is that appveyor.yml doesn't haev another is;
|
☔ The latest upstream changes (presumably #44634) made this pull request unmergeable. Please resolve the merge conflicts. |
db40527
to
8f5977a
Compare
I don’t understand what that means
I’ve added @alexcrichton, is there some "try" mode to make a full CI run without landing? |
The appveyor.yml contains:
there's a missing
Yes, you can execute this locally via:
|
Fixed As to running the docker script locally I got to the point where it looks like this:
With no further output or error message, and |
What version of docker do you have locally? I believe to work we need the You can also test on Travis if you'd prefer by editing |
I installed Docker from Ubuntu packages. It did complain about |
|
ping @SimonSapin, just want to make sure this doesn't fall off your radar |
Err, Servo CI even only runs (and compiles) these tests on Linux. |
This likely fails to link: rust-lang/rust#44603 (comment)
Make test-stylo compile an empty crate on Windows without Gecko That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19003) <!-- Reviewable:end -->
@SimonSapin AFAIK there's no "easy" way to turn off these linker errors unfortunately :( If you'd like though, the test can be disabled in cargotest on Windows? |
I’m working on a Servo-side work-around so that we don’t need to pile up more per-test config in |
That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603
That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603
Exercise the previous commit’s fix. This used to fail to link: rust-lang/rust#44603 (comment)
Make test-stylo compile an empty crate on Windows without Gecko That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19003) <!-- Reviewable:end -->
Updated with servo/servo#19003. |
@bors: r+ |
📌 Commit daf84db has been approved by |
Add Stylo and WebRender to src/tools/cargotest This is a subset of Servo that takes relatively less time to compile and does not use unstable Rust features.
☀️ Test successful - status-appveyor, status-travis |
…ws without Gecko (from servo:stylo_tests_windows); r=emilio That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 Source-Repo: https://github.com/servo/servo Source-Revision: 38fe9533b93e985657f99a29772bf3d3c8694822 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 3a2413e03efb4754cf657f4637a3543fbc13074a
…ws without Gecko (from servo:stylo_tests_windows); r=emilio That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 Source-Repo: https://github.com/servo/servo Source-Revision: 38fe9533b93e985657f99a29772bf3d3c8694822
…ws without Gecko (from servo:stylo_tests_windows); r=emilio That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 Source-Repo: https://github.com/servo/servo Source-Revision: 38fe9533b93e985657f99a29772bf3d3c8694822 UltraBlame original commit: 6d6d75c9f64f65ecf8c71983a29f036d477c6ed6
…ws without Gecko (from servo:stylo_tests_windows); r=emilio That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 Source-Repo: https://github.com/servo/servo Source-Revision: 38fe9533b93e985657f99a29772bf3d3c8694822 UltraBlame original commit: 6d6d75c9f64f65ecf8c71983a29f036d477c6ed6
…ws without Gecko (from servo:stylo_tests_windows); r=emilio That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: rust-lang/rust#44603 Source-Repo: https://github.com/servo/servo Source-Revision: 38fe9533b93e985657f99a29772bf3d3c8694822 UltraBlame original commit: 6d6d75c9f64f65ecf8c71983a29f036d477c6ed6
This is a subset of Servo that takes relatively less time to compile and does not use unstable Rust features.