CI: test mipsel-unknown-linux-gnu
This commit is contained in:
parent
9e1f7ba139
commit
a4f06b9a8e
|
@ -52,6 +52,10 @@ matrix:
|
||||||
os: linux
|
os: linux
|
||||||
services: docker
|
services: docker
|
||||||
sudo: required
|
sudo: required
|
||||||
|
- env: TARGET=mipsel-unknown-linux-gnu
|
||||||
|
os: linux
|
||||||
|
services: docker
|
||||||
|
sudo: required
|
||||||
- env: TARGET=powerpc-unknown-linux-gnu
|
- env: TARGET=powerpc-unknown-linux-gnu
|
||||||
os: linux
|
os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
|
@ -33,6 +33,15 @@ case $TARGET in
|
||||||
export QEMU=qemu-mips
|
export QEMU=qemu-mips
|
||||||
export QEMU_LD_PREFIX=/usr/mips-linux-gnu
|
export QEMU_LD_PREFIX=/usr/mips-linux-gnu
|
||||||
;;
|
;;
|
||||||
|
mipsel-unknown-linux-gnu)
|
||||||
|
# NOTE $DOCKER values: 'y' (yes, call docker), 'i' (inside a docker container) or 'n' ("no)
|
||||||
|
if [[ -z $DOCKER ]]; then
|
||||||
|
export DOCKER=y
|
||||||
|
fi
|
||||||
|
export PREFIX=mipsel-linux-gnu-
|
||||||
|
export QEMU=qemu-mipsel
|
||||||
|
export QEMU_LD_PREFIX=/usr/mipsel-linux-gnu
|
||||||
|
;;
|
||||||
powerpc-unknown-linux-gnu)
|
powerpc-unknown-linux-gnu)
|
||||||
export PREFIX=powerpc-linux-gnu-
|
export PREFIX=powerpc-linux-gnu-
|
||||||
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
|
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
|
||||||
|
|
|
@ -13,6 +13,7 @@ install_deps() {
|
||||||
install_qemu() {
|
install_qemu() {
|
||||||
case $TARGET in
|
case $TARGET in
|
||||||
mips-unknown-linux-gnu | \
|
mips-unknown-linux-gnu | \
|
||||||
|
mipsel-unknown-linux-gnu | \
|
||||||
powerpc64-unknown-linux-gnu | \
|
powerpc64-unknown-linux-gnu | \
|
||||||
powerpc64le-unknown-linux-gnu)
|
powerpc64le-unknown-linux-gnu)
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
@ -41,6 +42,10 @@ install_c_toolchain() {
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
gcc-mips-linux-gnu libc6-dev-mips-cross
|
gcc-mips-linux-gnu libc6-dev-mips-cross
|
||||||
;;
|
;;
|
||||||
|
mipsel-unknown-linux-gnu)
|
||||||
|
apt-get install -y --no-install-recommends \
|
||||||
|
gcc-mipsel-linux-gnu libc6-dev-mipsel-cross
|
||||||
|
;;
|
||||||
powerpc64-unknown-linux-gnu)
|
powerpc64-unknown-linux-gnu)
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross
|
gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross
|
||||||
|
|
Loading…
Reference in New Issue