2016-06-24 05:32:31 +02:00
|
|
|
# We require a full (virtual) machine to load the kernel module for
|
|
|
|
# binfmt support, which is needed to test other architectures besides
|
|
|
|
# x86 using qemu user emulation. (This will not work in a container.)
|
2016-06-24 05:32:31 +02:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2014-12-18 18:19:10 +01:00
|
|
|
language: c
|
2016-06-24 05:32:31 +02:00
|
|
|
|
|
|
|
script:
|
|
|
|
- make $FLAGS
|
2016-06-24 05:32:31 +02:00
|
|
|
- make check $FLAGS $TEST_FLAGS
|
2016-06-24 05:32:31 +02:00
|
|
|
- make clean && git status --ignored --porcelain && test -z "$(git status --ignored --porcelain)"
|
|
|
|
|
2015-01-06 04:54:06 +01:00
|
|
|
matrix:
|
2016-06-24 05:32:31 +02:00
|
|
|
include:
|
2016-04-27 01:44:05 +02:00
|
|
|
- os: osx
|
|
|
|
env: FLAGS="CC=clang"
|
|
|
|
|
2016-06-24 05:32:31 +02:00
|
|
|
- os: linux
|
|
|
|
env: FLAGS="CC=gcc"
|
|
|
|
|
2016-06-24 05:32:31 +02:00
|
|
|
- os: linux
|
|
|
|
env: FLAGS="CC=gcc ARCH=i686" # implies -m32 -march=i686
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-multilib
|
|
|
|
|
2016-06-24 05:32:31 +02:00
|
|
|
- os: linux
|
|
|
|
env: FLAGS="CC=aarch64-linux-gnu-gcc" TEST_FLAGS="LDFLAGS=-static"
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- gcc-aarch64-linux-gnu
|
|
|
|
- libc6-dev-arm64-cross
|
|
|
|
- qemu-user-static
|
|
|
|
- binfmt-support
|
|
|
|
|
2015-01-05 19:03:12 +01:00
|
|
|
notifications:
|
2015-01-05 19:18:29 +01:00
|
|
|
email: false
|