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).
10 lines
362 B
Docker
10 lines
362 B
Docker
FROM ubuntu:16.04
|
|
RUN apt-get update
|
|
RUN apt-get install -y --no-install-recommends \
|
|
gcc libc6-dev ca-certificates \
|
|
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user-static
|
|
ENV CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
|
|
PATH=$PATH:/rust/bin \
|
|
QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf \
|
|
RUST_TEST_THREADS=1
|