Merge pull request #22 from japaric/i586
CI: test i586-unknown-linux-gnu
This commit is contained in:
commit
5a1eee91a0
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue