CI: test powerpc64-unknown-linux-gnu
This commit is contained in:
parent
419a2937dc
commit
0c7f25bdbd
|
@ -64,6 +64,10 @@ matrix:
|
|||
- libc6-powerpc-cross
|
||||
- libc6-dev-powerpc-cross
|
||||
- qemu-user-static
|
||||
- env: TARGET=powerpc64-unknown-linux-gnu
|
||||
os: linux
|
||||
services: docker
|
||||
sudo: required
|
||||
- env: TARGET=powerpc64le-unknown-linux-gnu
|
||||
os: linux
|
||||
services: docker
|
||||
|
@ -80,6 +84,9 @@ matrix:
|
|||
- env: TARGET=mips-unknown-linux-gnu
|
||||
os: linux
|
||||
# FIXME QEMU blows up
|
||||
- env: TARGET=powerpc64-unknown-linux-gnu
|
||||
os: linux
|
||||
# FIXME QEMU blows up
|
||||
- env: TARGET=powerpc64le-unknown-linux-gnu
|
||||
os: linux
|
||||
|
||||
|
|
|
@ -37,6 +37,14 @@ case $TARGET in
|
|||
export PREFIX=powerpc-linux-gnu-
|
||||
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
|
||||
;;
|
||||
powerpc64-unknown-linux-gnu)
|
||||
if [[ -z $DOCKER ]]; then
|
||||
export DOCKER=y
|
||||
fi
|
||||
export PREFIX=powerpc64-linux-gnu-
|
||||
export QEMU=qemu-ppc64
|
||||
export QEMU_LD_PREFIX=/usr/powerpc64-linux-gnu
|
||||
;;
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
if [[ -z $DOCKER ]]; then
|
||||
export DOCKER=y
|
||||
|
|
|
@ -13,6 +13,7 @@ install_deps() {
|
|||
install_qemu() {
|
||||
case $TARGET in
|
||||
mips-unknown-linux-gnu | \
|
||||
powerpc64-unknown-linux-gnu | \
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
apt-get install -y --no-install-recommends \
|
||||
qemu-user
|
||||
|
@ -40,6 +41,10 @@ install_c_toolchain() {
|
|||
apt-get install -y --no-install-recommends \
|
||||
gcc-mips-linux-gnu libc6-dev-mips-cross
|
||||
;;
|
||||
powerpc64-unknown-linux-gnu)
|
||||
apt-get install -y --no-install-recommends \
|
||||
gcc-powerpc64-linux-gnu libc6-dev-ppc64-cross
|
||||
;;
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
apt-get install -y --no-install-recommends \
|
||||
gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
|
||||
|
|
Loading…
Reference in New Issue