CI: test powerpc-unknown-linux-gnu

This commit is contained in:
Jorge Aparicio 2016-08-08 19:31:37 -05:00
parent 1b0915db05
commit 8c9173e770
2 changed files with 15 additions and 0 deletions

View File

@ -48,6 +48,17 @@ matrix:
apt:
packages:
- gcc-multilib
- env: TARGET=powerpc-unknown-linux-gnu
os: linux
sudo: required
addons:
apt:
packages:
- binfmt-support
- gcc-powerpc-linux-gnu
- libc6-powerpc-cross
- libc6-dev-powerpc-cross
- qemu-user-static
- env: TARGET=x86_64-apple-darwin
os: osx
- env: TARGET=x86_64-unknown-linux-gnu

View File

@ -24,4 +24,8 @@ case $TARGET in
export PREFIX=arm-linux-gnueabihf-
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
;;
powerpc-unknown-linux-gnu)
export PREFIX=powerpc-linux-gnu-
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
;;
esac