Skip to content

Commit 8c9173e

Browse files
author
Jorge Aparicio
committed
CI: test powerpc-unknown-linux-gnu
1 parent 1b0915d commit 8c9173e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ matrix:
4848
apt:
4949
packages:
5050
- gcc-multilib
51+
- env: TARGET=powerpc-unknown-linux-gnu
52+
os: linux
53+
sudo: required
54+
addons:
55+
apt:
56+
packages:
57+
- binfmt-support
58+
- gcc-powerpc-linux-gnu
59+
- libc6-powerpc-cross
60+
- libc6-dev-powerpc-cross
61+
- qemu-user-static
5162
- env: TARGET=x86_64-apple-darwin
5263
os: osx
5364
- env: TARGET=x86_64-unknown-linux-gnu

ci/env.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ case $TARGET in
2424
export PREFIX=arm-linux-gnueabihf-
2525
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
2626
;;
27+
powerpc-unknown-linux-gnu)
28+
export PREFIX=powerpc-linux-gnu-
29+
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
30+
;;
2731
esac

0 commit comments

Comments
 (0)