diff options
| author | bors <bors@rust-lang.org> | 2017-11-28 17:58:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-11-28 17:58:58 +0000 |
| commit | 71340ca4e181b824bcefa887f1be60dd0b7352ce (patch) | |
| tree | dfff87c0583208025944813532cbe3f0361926f0 /src/ci | |
| parent | 5a59704525963a135359fdbcba78da796b64ab5c (diff) | |
| parent | 73970bf6f287b93ebd9775783652217e1aca02d3 (diff) | |
| download | rust-71340ca4e181b824bcefa887f1be60dd0b7352ce.tar.gz rust-71340ca4e181b824bcefa887f1be60dd0b7352ce.zip | |
Auto merge of #46291 - alexcrichton:wasm-tests, r=kennytm
ci: Start running wasm32 tests on Travis This commit allocates a builder to running wasm32 tests on Travis. Not all test suites pass right now so this is starting out with just the run-pass and the libcore test suites. This'll hopefully give us a pretty broad set of coverage for integration in rustc itself as well as a somewhat broad coverage of the llvm backend itself through integration/unit tests.
Diffstat (limited to 'src/ci')
| -rw-r--r-- | src/ci/docker/wasm32-unknown/Dockerfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ci/docker/wasm32-unknown/Dockerfile b/src/ci/docker/wasm32-unknown/Dockerfile new file mode 100644 index 00000000000..dc1727b7014 --- /dev/null +++ b/src/ci/docker/wasm32-unknown/Dockerfile @@ -0,0 +1,36 @@ +FROM ubuntu:16.04 + +RUN apt-get update && apt-get install -y --no-install-recommends \ + g++ \ + make \ + file \ + curl \ + ca-certificates \ + python \ + git \ + cmake \ + sudo \ + gdb \ + xz-utils + +RUN curl -sL https://nodejs.org/dist/v9.2.0/node-v9.2.0-linux-x64.tar.xz | \ + tar -xJ + +COPY scripts/sccache.sh /scripts/ +RUN sh /scripts/sccache.sh + +ENV TARGETS=wasm32-unknown-unknown + +ENV RUST_CONFIGURE_ARGS \ + --target=$TARGETS \ + --set build.nodejs=/node-v9.2.0-linux-x64/bin/node + +ENV SCRIPT python2.7 /checkout/x.py test --target $TARGETS \ + src/test/ui \ + src/test/run-pass \ + src/test/compile-fail \ + src/test/parse-fail \ + src/test/mir-opt \ + src/test/codegen-units \ + src/libcore \ + src/libstd_unicode/ \ |
