mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 22:18:12 +00:00
This commit adds CI for a few more targets: * i686-unknown-linux-gnu * arm-unknown-linux-gnueabihf * armv7-unknown-linux-gnueabihf * aarch64-unknown-linux-gnu The CI here is structured around using a Docker container to set up a test environment and then QEMU is used to actually execute code from these platforms. QEMU's emulation actually makes it so we can continue to just use `cargo test`, as processes can be spawned from QEMU like `objdump` and files can be read (for libbacktrace). Ends up being a relatively seamless experience! Note that a number of intrinsics were disabled on i686 because they were failing tests, and otherwise a few ARM touch-ups were made to get tests passing.
8 lines
152 B
Docker
8 lines
152 B
Docker
FROM ubuntu:17.04
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
gcc-multilib \
|
|
libc6-dev \
|
|
file \
|
|
make \
|
|
ca-certificates
|