ci: replace mips with powerpc64, aarch64 and s390x

We drop our MIPS target because it no longer works.[1] We were
previously using it as a means of testing ripgrep in a big endian
environment. So to achieve that without MIPS, we test on powerpc64 and
s390x. (No particular reason to do both, but why not.)

We also add aarch64 as a proxy for at least ensuring everything works
for the same architecture as Apple silicon. It's not a guarantee that
everything works, but it seems better than nothing until we can actually
test Apple silicon in CI.

[1]: c788378d6f
This commit is contained in:
Andrew Gallant
2023-08-28 20:17:04 -04:00
parent 51765f2f4c
commit 3bfa125b2e
11 changed files with 114 additions and 59 deletions

View File

@@ -1,4 +1,4 @@
FROM rustembedded/cross:arm-unknown-linux-gnueabihf
FROM rustembedded/cross:aarch64-unknown-linux-gnu
COPY stage/ubuntu-install-packages /
RUN /ubuntu-install-packages

View File

@@ -2,4 +2,4 @@
mkdir -p stage
cp ../../ubuntu-install-packages ./stage/
docker build -t burntsushi/cross:arm-unknown-linux-gnueabihf .
docker build -t burntsushi/cross:aarch64-unknown-linux-gnu .

View File

@@ -1,4 +1,4 @@
FROM rustembedded/cross:mips64-unknown-linux-gnuabi64
FROM rustembedded/cross:powerpc64-unknown-linux-gnu
COPY stage/ubuntu-install-packages /
RUN /ubuntu-install-packages

View File

@@ -2,4 +2,4 @@
mkdir -p stage
cp ../../ubuntu-install-packages ./stage/
docker build -t burntsushi/cross:mips64-unknown-linux-gnuabi64 .
docker build -t burntsushi/cross:powerpc64-unknown-linux-gnu .

View File

@@ -0,0 +1,4 @@
FROM rustembedded/cross:s390x-unknown-linux-gnu
COPY stage/ubuntu-install-packages /
RUN /ubuntu-install-packages

View File

@@ -0,0 +1,5 @@
#!/bin/sh
mkdir -p stage
cp ../../ubuntu-install-packages ./stage/
docker build -t burntsushi/cross:s390x-unknown-linux-gnu .