f78d24935d
The Travis container-based infrastructure has 2 cores, so use multiple make jobs to take advantage of this and shorten the build. Change-Id: Ib0fa7d25d23109f201b4d25f85d5fba44e026d13 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
32 lines
661 B
YAML
32 lines
661 B
YAML
language: c
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
sudo: false
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libcunit1-dev
|
|
- libaio-dev
|
|
- libssl-dev
|
|
|
|
before_script:
|
|
- export MAKEFLAGS="-j$(nproc)"
|
|
- wget http://fast.dpdk.org/rel/dpdk-17.02.tar.xz
|
|
- tar xf dpdk-17.02.tar.xz
|
|
- pushd dpdk-17.02
|
|
- make config T=x86_64-native-linuxapp-$CC
|
|
- sed -i s/CONFIG_RTE_EAL_IGB_UIO=y/CONFIG_RTE_EAL_IGB_UIO=n/ build/.config
|
|
- sed -i s/CONFIG_RTE_KNI_KMOD=y/CONFIG_RTE_KNI_KMOD=n/ build/.config
|
|
- make
|
|
- make install DESTDIR=.
|
|
- export DPDK_DIR=$PWD/usr/local/share/dpdk/x86_64-native-linuxapp-$CC
|
|
- popd
|
|
|
|
script:
|
|
- make CONFIG_WERROR=y
|
|
- ./unittest.sh
|