Repository navigation
bootstrap: add bootstrap step to run stdarch-gen checks in CI - #156674
Conversation
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
cc @Amanieu, @folkertdev, @sayantn |
This comment has been minimized.
This comment has been minimized.
a594176 to
59674c1
Compare
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=x86_64-gnu |
This comment has been minimized.
This comment has been minimized.
bootstrap: add bootstrap step to run stdarch-gen checks in CI try-job: x86_64-gnu
This comment has been minimized.
This comment has been minimized.
|
💔 Test for bb3dc02 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=x86_64-gnu |
This comment has been minimized.
This comment has been minimized.
bootstrap: add bootstrap step to run stdarch-gen checks in CI try-job: x86_64-gnu
|
@bors r=Kobzol |
bootstrap: add bootstrap step to run stdarch-gen checks in CI try-job: test-x86_64-gnu-distcheck
|
Okay, let's try. |
|
@bors r+ |
|
@bors p=0 |
This comment has been minimized.
This comment has been minimized.
bootstrap: add bootstrap step to run stdarch-gen checks in CI This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test. Changes -: -> Adds a new `StdarchGenCheck` bootstrap step. -> Mirrors `https://github.com/rust-lang/stdarch/blob/f71ac102d30d5d1957277cbffc6ba631b67bffd1/.github/workflows/main.yml#L309-L333` (check-stdarch-gen job) -> `stdarch-gen-arm` uses a nightly only feature (`#![feature(pattern)]`) but bootstrap's cargo runs on the beta toolchain thus we set `RUSTC_BOOTSTRAP=1` on the child process so it builds. -> The generators call out to `rustfmt` to format their output so `rustfmt` needs to be on `PATH`. So added bootstrap's rustfmt to `PATH` before each run. If rustfmt isn't available, the step fails early and tells the user to set `rustfmt = true` in `bootstrap.toml` . r? @Kobzol
|
@bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #163934. |
This comment has been minimized.
This comment has been minimized.
bootstrap: add bootstrap step to run stdarch-gen checks in CI This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test. Changes -: -> Adds a new `StdarchGenCheck` bootstrap step. -> Mirrors `https://github.com/rust-lang/stdarch/blob/f71ac102d30d5d1957277cbffc6ba631b67bffd1/.github/workflows/main.yml#L309-L333` (check-stdarch-gen job) -> `stdarch-gen-arm` uses a nightly only feature (`#![feature(pattern)]`) but bootstrap's cargo runs on the beta toolchain thus we set `RUSTC_BOOTSTRAP=1` on the child process so it builds. -> The generators call out to `rustfmt` to format their output so `rustfmt` needs to be on `PATH`. So added bootstrap's rustfmt to `PATH` before each run. If rustfmt isn't available, the step fails early and tells the user to set `rustfmt = true` in `bootstrap.toml` . r? @Kobzol
|
@bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #163934. |
This comment has been minimized.
This comment has been minimized.
bootstrap: add bootstrap step to run stdarch-gen checks in CI This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test. Changes -: -> Adds a new `StdarchGenCheck` bootstrap step. -> Mirrors `https://github.com/rust-lang/stdarch/blob/f71ac102d30d5d1957277cbffc6ba631b67bffd1/.github/workflows/main.yml#L309-L333` (check-stdarch-gen job) -> `stdarch-gen-arm` uses a nightly only feature (`#![feature(pattern)]`) but bootstrap's cargo runs on the beta toolchain thus we set `RUSTC_BOOTSTRAP=1` on the child process so it builds. -> The generators call out to `rustfmt` to format their output so `rustfmt` needs to be on `PATH`. So added bootstrap's rustfmt to `PATH` before each run. If rustfmt isn't available, the step fails early and tells the user to set `rustfmt = true` in `bootstrap.toml` . r? @Kobzol
|
@bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #163957. |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 33ffc9b (parent) -> 36aeef3 (this PR) Test differencesShow 3 test diffs3 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 36aeef32c6c012e1af17af53a820aac042846c43 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (36aeef3): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)Results (primary -0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.2%, secondary -2.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 490.731s -> 490.639s (-0.02%) |
View all comments
This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test.
Changes -:
-> Adds a new
StdarchGenCheckbootstrap step.-> Mirrors
https://github.com/rust-lang/stdarch/blob/f71ac102d30d5d1957277cbffc6ba631b67bffd1/.github/workflows/main.yml#L309-L333(check-stdarch-gen job)->
stdarch-gen-armuses a nightly only feature (#![feature(pattern)]) but bootstrap's cargo runs on the beta toolchain thus we setRUSTC_BOOTSTRAP=1on the child process so it builds.-> The generators call out to
rustfmtto format their output sorustfmtneeds to be onPATH. So added bootstrap's rustfmt toPATHbefore each run. If rustfmt isn't available, the step fails early and tells the user to setrustfmt = trueinbootstrap.toml.r? @Kobzol