]> git.lizzy.rs Git - rust.git/blob - src/ci/docker/wasm32-unknown/Dockerfile
Remove the parse-fail test suite
[rust.git] / src / ci / docker / wasm32-unknown / Dockerfile
1 FROM ubuntu:16.04
2
3 RUN apt-get update && apt-get install -y --no-install-recommends \
4   g++ \
5   make \
6   file \
7   curl \
8   ca-certificates \
9   python \
10   git \
11   cmake \
12   sudo \
13   gdb \
14   xz-utils
15
16 RUN curl -sL https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-x64.tar.xz | \
17     tar -xJ
18
19 COPY scripts/sccache.sh /scripts/
20 RUN sh /scripts/sccache.sh
21
22 ENV TARGETS=wasm32-unknown-unknown
23
24 ENV RUST_CONFIGURE_ARGS \
25   --set build.nodejs=/node-v9.2.0-linux-x64/bin/node \
26   --set rust.lld
27
28 # Some run-make tests have assertions about code size, and enabling debug
29 # assertions in libstd causes the binary to be much bigger than it would
30 # otherwise normally be. We already test libstd with debug assertions in lots of
31 # other contexts as well
32 ENV NO_DEBUG_ASSERTIONS=1
33
34 ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \
35   src/test/run-make \
36   src/test/ui \
37   src/test/run-pass \
38   src/test/compile-fail \
39   src/test/mir-opt \
40   src/test/codegen-units \
41   src/libcore \