Skip to content

Commit e47dfe3

Browse files
committed
[s390x] add CI
This commit tests `s390x-unknown-linux-gnu` on CI using `qemu-user`. Closes #499 .
1 parent 6d92794 commit e47dfe3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ matrix:
2222
- env: TARGET=powerpc-unknown-linux-gnu
2323
- env: TARGET=powerpc64-unknown-linux-gnu
2424
- env: TARGET=powerpc64le-unknown-linux-gnu
25+
- env: TARGET=s390x-unknown-linux-gnu NORUN=1
2526
- os: osx
2627
env: TARGET=i686-apple-darwin
2728
script: ci/run.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM ubuntu:17.10
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
curl ca-certificates \
5+
gcc libc6-dev \
6+
gcc-s390x-linux-gnu libc6-dev-s390x-cross \
7+
qemu-user \
8+
make \
9+
file
10+
11+
ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
12+
CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="qemu-s390x -L /usr/s390x-linux-gnu" \
13+
OBJDUMP=s390x-linux-gnu-objdump

0 commit comments

Comments
 (0)