Skip to content

CI: test powerpc64-unknown-linux-gnu #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
8 changes: 8 additions & 0 deletions ci/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down