-
Notifications
You must be signed in to change notification settings - Fork 516
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
document testing for broader set of targets #204
Comments
In the case of #54004 it was not a a documentation problem but a problem reproducing the failure locally - the docker setup did not work here, and only after many tries (and I still don't really know what the key change was) did I manage to get a local failure. Possibly it would have helped if the various ci scripts didn't hard-code paths, but even then I am not so sure it would have helped. |
So what I just tried doing was:
I suspect that the "right" thing to do, in terms of recommended best practices here, is not to worry about swapping, but instead to just change Also, one might want to disable fail_fast on the testing of such runs, since its (probably?) more important to get an account of as many failures as possible, rather than trying to get a result back quickly... Unless turning off fail_fast would end up being a big drain on resource...? |
@tromey the claim I am making is that if we provided docs for how to leverage the CI to assist with more targeted testing of specific targets, then you wouldn't need to reproduce the setup locally... |
Aha, ok, thanks. Someone did give me the advice about how to tweak |
ah, yes, so best practices might to cut out all but one of the IMAGE directives in the |
I also know little about Travis. Cutting it down to just the one I was interested in just seemed like a good idea, to avoid spending resources when not needed. |
But now that I think about it further: It shouldn't cost anything to have those other directives, as long as you don't |
The easiest thing (and this is also fine for Travis) is to simply comment out the if auto line, making no other changes. That will run said builder, and doesn't impact other builders. |
Thanks @Mark-Simulacrum ! |
FWIW, there are now two chapters related to this:
I realize I probably should have added some information for simulating CI locally without Docker (#447). |
Triage:
|
We need to document the recommended way to go about testing for broader set of targets (e.g.
asmjs
) other than just throwing it at bors and hoping it works.Spawned off of T-compiler meeting discussion of rust-lang/rust#54223
Some choice quotes:
Examples of PR's that have been doing the "throw it at bors and hope" dance: PR rust-lang/rust#54004, PR rust-lang/rust#54223
The text was updated successfully, but these errors were encountered: