Skip to content

Commit 2cf12b0

Browse files
author
Jorge Aparicio
authored
Merge pull request #17 from japaric/powerpc
CI: test powerpc-unknown-linux-gnu
2 parents 1b0915d + 0b9c875 commit 2cf12b0

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ matrix:
4848
apt:
4949
packages:
5050
- gcc-multilib
51+
- env: TARGET=powerpc-unknown-linux-gnu
52+
os: linux
53+
dist: trusty
54+
sudo: required
55+
addons:
56+
apt:
57+
packages:
58+
- binfmt-support
59+
- gcc-powerpc-linux-gnu
60+
- libc6-powerpc-cross
61+
- libc6-dev-powerpc-cross
62+
- qemu-user-static
5163
- env: TARGET=x86_64-apple-darwin
5264
os: osx
5365
- 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)