Merge pull request #1695 from JohnTitor/s390x

Enable `s390x-unknown-linux-gnu` on CI
This commit is contained in:
Yuki Okushi 2020-03-16 02:07:40 +09:00 committed by GitHub
commit d6159ebcce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View File

@ -70,8 +70,8 @@ jobs:
TARGET: powerpc64-unknown-linux-gnu
powerpc64le-unknown-linux-gnu:
TARGET: powerpc64le-unknown-linux-gnu
#s390x-unknown-linux-gnu:
# TARGET: s390x-unknown-linux-gnu
s390x-unknown-linux-gnu:
TARGET: s390x-unknown-linux-gnu
#wasm32-wasi
# TARGET: wasm32-wasi
sparc64-unknown-linux-gnu:

View File

@ -6,8 +6,8 @@ mkdir -m 777 /qemu
cd /qemu
curl --retry 5 -LO https://github.com/qemu/qemu/raw/master/pc-bios/s390-ccw.img
curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20190410/images/generic/kernel.debian
curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20190410/images/generic/initrd.debian
curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20191129/images/generic/kernel.debian
curl --retry 5 -LO http://ftp.debian.org/debian/dists/testing/main/installer-s390x/20191129/images/generic/initrd.debian
mv kernel.debian kernel
mv initrd.debian initrd.gz

View File

@ -2531,6 +2531,8 @@ fn test_linux(target: &str) {
"utsname" if mips32 || mips64 => true,
// FIXME:
"mcontext_t" if s390x => true,
// FIXME: This is actually a union.
"fpreg_t" if s390x => true,
"sockaddr_un" | "sembuf" | "ff_constant_effect"
if mips32 && (gnu || musl) =>