-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Run x test --stage 1
in CI
#99135
Comments
To be clear, I was mistakenly under the impression that only stage1 tests were ran for PR CI. |
ah yeah no, we currently run
not currently, no - I think it wouldn't be impossible to add to compiletest though, it already does filtering and parses the headers, so it should be possible to combine the two. That would mean we have to build the stage 2 compiler though, so if we switch to stage 1 I think it would be ok to only run those in a full bors merge, not in PR CI. |
@jyn514 just add another builder, we have capacity for that. |
If we do get another builder, can we have incremental enabled on it (or rather, whichever dev profile enables that)? Some codegen tests haven't been passing for a short while because of the difference, and might be good to be tracking something that strongly resembles local workflows. |
|
@rustbot claim |
What is the correct course of action here? Adding another builder? |
Yes, adding another builder is enough. I want to investigate running --stage 1 in PR CI instead of --stage 2 long term, but that's harder and shouldn't block testing this. |
This would have caught #99619, I assume? |
@RalfJung Yes, despite not being filed as an issue, that's exactly the kind of test failure I was referencing in #99135 (comment) (it does require that we do enable incremental, not just test at stage 1). |
Similar to #95996, we expect contributors to run this frequently, so it should be tested in CI.
@eddyb suggested using the defaults in
rust/src/bootstrap/defaults/config.compiler.toml
Line 1 in 7443cc2
download-ci-llvm
) and others shouldn't affect tests but make the compiler slower (e.g.debug-logging = true
). I do agree we should enable incremental for these tests, though.Not sure which builder to add these to - adding it to mingw-check would make it significantly slower, and I don't know which of the full builders has spare capacity. @pietroalbini do you have suggestions?
_Originally posted by @eddyb in #98660 (comment)
The text was updated successfully, but these errors were encountered: