Merge pull request #7 from japaric/mips
CI: test mips-unknown-linux-gnu
This commit is contained in:
commit
419a2937dc
|
@ -48,6 +48,10 @@ matrix:
|
|||
apt:
|
||||
packages:
|
||||
- gcc-multilib
|
||||
- env: TARGET=mips-unknown-linux-gnu
|
||||
os: linux
|
||||
services: docker
|
||||
sudo: required
|
||||
- env: TARGET=powerpc-unknown-linux-gnu
|
||||
os: linux
|
||||
dist: trusty
|
||||
|
@ -73,6 +77,9 @@ matrix:
|
|||
- env: TARGET=armv7-unknown-linux-gnueabihf
|
||||
os: linux
|
||||
# FIXME QEMU blows up
|
||||
- env: TARGET=mips-unknown-linux-gnu
|
||||
os: linux
|
||||
# FIXME QEMU blows up
|
||||
- env: TARGET=powerpc64le-unknown-linux-gnu
|
||||
os: linux
|
||||
|
||||
|
|
10
ci/env.sh
10
ci/env.sh
|
@ -24,12 +24,20 @@ case $TARGET in
|
|||
export PREFIX=arm-linux-gnueabihf-
|
||||
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
|
||||
;;
|
||||
mips-unknown-linux-gnu)
|
||||
# NOTE $DOCKER values: 'y' (yes, call docker), 'i' (inside a docker container) or 'n' ("no)
|
||||
if [[ -z $DOCKER ]]; then
|
||||
export DOCKER=y
|
||||
fi
|
||||
export PREFIX=mips-linux-gnu-
|
||||
export QEMU=qemu-mips
|
||||
export QEMU_LD_PREFIX=/usr/mips-linux-gnu
|
||||
;;
|
||||
powerpc-unknown-linux-gnu)
|
||||
export PREFIX=powerpc-linux-gnu-
|
||||
export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu
|
||||
;;
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
# NOTE $DOCKER values: 'y' (yes, call docker), 'i' (inside a docker container) or 'n' ("no)
|
||||
if [[ -z $DOCKER ]]; then
|
||||
export DOCKER=y
|
||||
fi
|
||||
|
|
|
@ -12,6 +12,7 @@ install_deps() {
|
|||
|
||||
install_qemu() {
|
||||
case $TARGET in
|
||||
mips-unknown-linux-gnu | \
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
apt-get install -y --no-install-recommends \
|
||||
qemu-user
|
||||
|
@ -35,6 +36,10 @@ install_c_toolchain() {
|
|||
sudo apt-get install -y --no-install-recommends \
|
||||
gcc-aarch64-linux-gnu libc6-dev-arm64-cross
|
||||
;;
|
||||
mips-unknown-linux-gnu)
|
||||
apt-get install -y --no-install-recommends \
|
||||
gcc-mips-linux-gnu libc6-dev-mips-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