8e161a791a
This commit moves over most of the testing infrastructure to in-tree docker images that are all dispatched to from Travis (no other test configuration). This allows versioning modifications to the test infrastructure as well as the code itself. Additionally separate docker images allows for easy modification of one without worrying about tampering of others as well as easy addition of new targets by simply adding a new `Dockerfile`. Additionally this commit bundles the master version of the `compiler-rt` source repository from `llvm-mirror/compiler-rt` to test against. The compiler-rt library itself is compiled as a `cdylib` which is then dynamically located at runtime and we look for symbols in. There's a few hoops here, but they currently get the job done. All tests now execute against both gcc_s and compiler-rt, and this testing strategy is now all hidden behind a macro as well (refactoring all existing tests along the way).
11 lines
356 B
Docker
11 lines
356 B
Docker
FROM ubuntu:16.04
|
|
RUN apt-get update
|
|
RUN apt-get install -y --no-install-recommends \
|
|
gcc libc6-dev ca-certificates \
|
|
gcc-aarch64-linux-gnu libc6-dev-arm64-cross \
|
|
qemu-user-static
|
|
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
|
|
PATH=$PATH:/rust/bin \
|
|
QEMU_LD_PREFIX=/usr/aarch64-linux-gnu \
|
|
RUST_TEST_THREADS=1
|