File tree Expand file tree Collapse file tree 13 files changed +87
-128
lines changed
aarch64-unknown-linux-gnu
arm-unknown-linux-gnueabihf
mips64-unknown-linux-gnuabi64
mipsel-unknown-linux-musl
powerpc-unknown-linux-gnu
powerpc64-unknown-linux-gnu Expand file tree Collapse file tree 13 files changed +87
-128
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,14 @@ matrix:
50
50
- env : TARGET=aarch64-unknown-linux-gnu
51
51
- os : osx
52
52
osx_image : xcode8.2
53
- env : TARGET=i386-apple-ios
53
+ env : TARGET=i386-apple-ios CARGO_TARGET_I386_APPLE_IOS_RUNNER=$HOME/runtest
54
+ before_install :
55
+ rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest
54
56
- os : osx
55
57
osx_image : xcode8.2
56
- env : TARGET=x86_64-apple-ios
58
+ env : TARGET=x86_64-apple-ios CARGO_TARGET_X86_64_APPLE_IOS_RUNNER=$HOME/runtest
59
+ before_install :
60
+ rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest
57
61
- env : TARGET=x86_64-rumprun-netbsd
58
62
- env : TARGET=powerpc-unknown-linux-gnu
59
63
- env : TARGET=powerpc64-unknown-linux-gnu
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
- RUN apt-get update
3
- RUN apt-get install -y --no-install-recommends \
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
3
gcc libc6-dev ca-certificates \
5
4
gcc-aarch64-linux-gnu libc6-dev-arm64-cross qemu-user
6
5
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc \
6
+ CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER="qemu-aarch64 -L /usr/aarch64-linux-gnu" \
7
7
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
- RUN apt-get update
3
- RUN apt-get install -y --no-install-recommends \
2
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
3
gcc libc6-dev ca-certificates \
5
4
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
6
5
ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
6
+ CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_RUNNER="qemu-arm -L /usr/arm-linux-gnueabihf" \
7
7
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates \
6
5
gcc-mips-linux-gnu libc6-dev-mips-cross \
7
6
qemu-system-mips
8
7
9
8
ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
9
+ CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu" \
10
10
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates qemu-system-mips curl \
6
5
bzip2
7
6
@@ -14,4 +13,5 @@ RUN curl -L https://s3.amazonaws.com/rust-lang-ci/libc/OpenWrt-SDK-ar71xx-generi
14
13
15
14
ENV PATH=$PATH:/rust/bin:/toolchain/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/bin \
16
15
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \
17
- CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_LINKER=mips-openwrt-linux-gcc
16
+ CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_LINKER=mips-openwrt-linux-gcc \
17
+ CARGO_TARGET_MIPS_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mips -L /toolchain/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15"
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates \
6
5
gcc-mips64-linux-gnuabi64 libc6-dev-mips64-cross \
7
6
qemu-system-mips64
8
7
9
8
ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
9
+ CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_RUNNER="qemu-mips64 -L /usr/mips64-linux-gnuabi64" \
10
10
CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
11
11
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates qemu-system-mips curl \
6
5
bzip2
7
6
@@ -14,4 +13,5 @@ RUN curl -L https://s3.amazonaws.com/rust-lang-ci/libc/OpenWrt-Toolchain-malta-l
14
13
15
14
ENV PATH=$PATH:/rust/bin:/toolchain/bin \
16
15
CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
17
- CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=mipsel-openwrt-linux-gcc
16
+ CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=mipsel-openwrt-linux-gcc \
17
+ CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mipsel -L /toolchain"
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates \
6
5
gcc-powerpc-linux-gnu libc6-dev-powerpc-cross \
7
6
qemu-system-ppc
8
7
9
8
ENV CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_LINKER=powerpc-linux-gnu-gcc \
9
+ CARGO_TARGET_POWERPC_UNKNOWN_LINUX_GNU_RUNNER="qemu-ppc -L /usr/powerpc-linux-gnu" \
10
10
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change 1
1
FROM ubuntu:17.10
2
2
3
- RUN apt-get update
4
- RUN apt-get install -y --no-install-recommends \
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
4
gcc libc6-dev qemu-user ca-certificates \
6
5
gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross \
7
6
qemu-system-ppc
8
7
9
8
ENV CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_LINKER=powerpc64-linux-gnu-gcc \
9
+ CARGO_TARGET_POWERPC64_UNKNOWN_LINUX_GNU_RUNNER="qemu-ppc64 -L /usr/powerpc64-linux-gnu" \
10
10
CC=powerpc64-linux-gnu-gcc \
11
11
PATH=$PATH:/rust/bin
Original file line number Diff line number Diff line change @@ -5,5 +5,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5
5
gcc-s390x-linux-gnu libc6-dev-s390x-cross
6
6
7
7
ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
8
+ # TODO: in theory we should execute this, but qemu segfaults immediately :(
9
+ # CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="qemu-s390x -L /usr/s390x-linux-gnu" \
10
+ CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER=true \
8
11
CC_s390x_unknown_linux_gnu=s390x-linux-gnu-gcc \
9
12
PATH=$PATH:/rust/bin
You can’t perform that action at this time.
0 commit comments