File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/ci/docker/host-x86_64/pr-check-2 Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
2121 mingw-w64 \
2222 && rm -rf /var/lib/apt/lists/*
2323
24+ RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-27/wasi-sdk-27.0-x86_64-linux.tar.gz | \
25+ tar -xz
26+ ENV WASI_SDK_PATH=/wasi-sdk-27.0-x86_64-linux
27+
2428ENV RUST_CONFIGURE_ARGS="--set rust.validate-mir-opts=3"
2529
2630COPY scripts/sccache.sh /scripts/
@@ -30,6 +34,10 @@ ENV SCRIPT \
3034 python3 ../x.py check && \
3135 python3 ../x.py clippy ci --stage 2 && \
3236 python3 ../x.py test --stage 1 core alloc std test proc_macro && \
37+ # Elsewhere, we run all tests for the host. A number of codegen tests are sensitive to the target pointer
38+ # width, for example because they mention a usize. wasm32-wasip1 in test-various, so using it here can't make
39+ # PR CI more strict than full CI.
40+ python3 ../x.py test --stage 1 tests/codegen-llvm --target wasm32-wasip1 && \
3341 python3 ../x.py test --stage 1 src/tools/compiletest && \
3442 python3 ../x.py doc bootstrap --stage 1 && \
3543 # Build both public and internal documentation.
You can’t perform that action at this time.
0 commit comments