Merge pull request #22 from japaric/i586

CI: test i586-unknown-linux-gnu
This commit is contained in:
Jorge Aparicio 2016-08-09 16:29:25 -05:00 committed by GitHub
commit 5a1eee91a0
3 changed files with 14 additions and 1 deletions

View File

@ -3,6 +3,10 @@ sudo: false
matrix: matrix:
include: include:
- env: TARGET=i586-unknown-linux-gnu
os: linux
services: docker
sudo: required
- env: TARGET=aarch64-unknown-linux-gnu - env: TARGET=aarch64-unknown-linux-gnu
os: linux os: linux
dist: trusty dist: trusty

View File

@ -30,10 +30,15 @@ case $TARGET in
export PREFIX=arm-linux-gnueabihf- export PREFIX=arm-linux-gnueabihf-
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
;; ;;
i586-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
;;
mips-unknown-linux-gnu) mips-unknown-linux-gnu)
# See #2 # See #2
export DONT_RUN_TESTS=y export DONT_RUN_TESTS=y
# NOTE $DOCKER values: 'y' (yes, call docker), 'i' (inside a docker container) or 'n' ("no)
if [[ -z $DOCKER ]]; then if [[ -z $DOCKER ]]; then
export DOCKER=y export DOCKER=y
fi fi

View File

@ -38,6 +38,10 @@ install_c_toolchain() {
sudo apt-get install -y --no-install-recommends \ sudo apt-get install -y --no-install-recommends \
gcc-aarch64-linux-gnu libc6-dev-arm64-cross gcc-aarch64-linux-gnu libc6-dev-arm64-cross
;; ;;
i586-unknown-linux-gnu)
apt-get install -y --no-install-recommends \
gcc libc6-dev-i386 lib32gcc-5-dev
;;
mips-unknown-linux-gnu) mips-unknown-linux-gnu)
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
gcc-mips-linux-gnu libc6-dev-mips-cross gcc-mips-linux-gnu libc6-dev-mips-cross