-
Notifications
You must be signed in to change notification settings - Fork 14k
Run codegen tests on a 32-bit target in PR CI #148958
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
This comment has been minimized.
This comment has been minimized.
59a8618 to
bf8e5a6
Compare
|
r? Kobzol |
|
Could you please just add a comment on top of it to explain why we included this specific test invocation? The Dockerfiles are filled with random You can r=me after. |
bf8e5a6 to
64f0579
Compare
|
@bors r=kobzol |
Run codegen tests on a 32-bit target in PR CI wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
Run codegen tests on a 32-bit target in PR CI wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
| # Elsewhere, we run all tests for the host. A number of codegen tests are sensitive to the target pointer | ||
| # width, for example because they mention a usize. wasm32-wasip1 in test-various, so using it here can't make | ||
| # PR CI more strict than full CI. | ||
| python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remark: IIRC, full CI is a proper superset of PR CI nowadays, so being more strict in PR CI is no longer a major concern.
(But it's still good to know that this is intended to be a subset of checks that run elsewhere in full CI.) 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, unless one writes a separate GHA workflow, citool enforces an invariant that PR CI is subset of Merge CI (modulo some carve-out differences).
Rollup of 6 pull requests Successful merges: - #147760 ([Debugger Visualizers] Unify `*-gnu` and `*-msvc` enum output) - #148505 (add larger test for `proc_macro` `FromStr` implementations) - #148855 (Error if an autodiff user does not set lto=fat) - #148958 (Run codegen tests on a 32-bit target in PR CI) - #149004 (compiletest: Avoid race condition in file deletion) - #149008 (triagebot: remove jsha from notifications for rustdoc HTML) r? `@ghost` `@rustbot` modify labels: rollup
Run codegen tests on a 32-bit target in PR CI wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
Rollup of 11 pull requests Successful merges: - #148505 (add larger test for `proc_macro` `FromStr` implementations) - #148752 (Constify `ManuallyDrop::take`) - #148757 (Constify `mem::take`) - #148855 (Error if an autodiff user does not set lto=fat) - #148912 (add note to `lines` docs about empty str behavior) - #148958 (Run codegen tests on a 32-bit target in PR CI) - #148994 (Abi compatibility test cleanup) - #148999 (Tweak Motor OS linker preset, fix `remote-test-server` for Motor OS) - #149004 (compiletest: Avoid race condition in file deletion) - #149008 (triagebot: remove jsha from notifications for rustdoc HTML) - #149010 (compiletest: Remove the "wasm32-bare" alias for `wasm32-unknown-unknown`) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #148958 - saethlin:32bit-codegen-pr, r=kobzol Run codegen tests on a 32-bit target in PR CI wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.
wasm32-wasip1 is the wasm target used in test-various. So using it somewhere else seems like a good bet.