File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 14
14
steps :
15
15
- uses : actions/checkout@v2
16
16
17
+ - name : Install packages
18
+ run : sudo apt-get install ninja-build
19
+
17
20
- name : Download artifact
18
21
uses : dawidd6/action-download-artifact@v2
19
22
with :
59
62
path : target
60
63
key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
61
64
62
- - name : Cache Rust repo
63
-
64
- with :
65
- path : rust
66
- key : ${{ runner.os }}-rust-${{ hashFiles('rust-toolchain') }}
67
-
68
65
- name : Prepare dependencies
69
66
run : |
70
67
git config --global user.email "[email protected] "
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ cat > config.toml <<EOF
155
155
[rust]
156
156
codegen-backends = []
157
157
[build]
158
- cargo = "/usr/bin/ cargo"
158
+ cargo = "$( which cargo) "
159
159
local-rebuild = true
160
160
rustc = "$HOME /.rustup/toolchains/$rust_toolchain -$TARGET_TRIPLE /bin/rustc"
161
161
EOF
173
173
# rm src/test/ui/macros/same-sequence-span.rs || true # Proc macro .rustc section not found?
174
174
# rm src/test/ui/suggestions/issue-61963.rs || true # ^
175
175
176
- # RUSTC_ARGS="-Zpanic-abort-tests -Zcodegen-backend="$(pwd)"/../target/"$CHANNEL"/librustc_codegen_gcc."$dylib_ext" --sysroot "$(pwd)"/../build_sysroot/sysroot -Cpanic=abort"
176
+ RUSTC_ARGS=" -Zpanic-abort-tests -Zcodegen-backend=" $( pwd) " /../target/" $CHANNEL " /librustc_codegen_gcc." $dylib_ext " --sysroot " $( pwd) " /../build_sysroot/sysroot -Cpanic=abort"
177
177
178
178
echo " [TEST] rustc test suite"
179
- COMPILETEST_FORCE_STAGE0=1 ./x.py test --stage 0 src/test/ui/ --rustc-args " $RUSTC_ARGS " 2>&1 | tee log.txt
179
+ # TODO: remove excluded tests when they stop stalling.
180
+ COMPILETEST_FORCE_STAGE0=1 ./x.py test --run always --stage 0 src/test/ui/ --rustc-args " $RUSTC_ARGS " --exclude src/test/ui/numbers-arithmetic/saturating-float-casts.rs --exclude src/test/ui/issues/issue-50811.rs
You can’t perform that action at this time.
0 commit comments