Skip to content

Commit 0ee3935

Browse files
committed
Add x86_64-unknown-linux-gnux32 docker image
1 parent c9aba5f commit 0ee3935

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM ubuntu:17.04
2+
RUN apt-get update
3+
RUN apt-get install -y --no-install-recommends \
4+
gcc-multilib libc6-dev ca-certificates
5+
ENV PATH=$PATH:/rust/bin

ci/run.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,10 @@ if [ "$QEMU" != "" ]; then
6868
exec grep "^PASSED .* tests" $CARGO_TARGET_DIR/out.log
6969
fi
7070

71-
exec cargo test --manifest-path libc-test/Cargo.toml --target $TARGET
71+
# FIXME: x86_64-unknown-linux-gnux32 fail to compile wihout --release
72+
opt=
73+
if [ "$TARGET" = "x86_64-unknown-linux-gnux32" ]; then
74+
opt="--release"
75+
fi
76+
77+
exec cargo test $opt --manifest-path libc-test/Cargo.toml --target $TARGET

0 commit comments

Comments
 (0)