2015-11-04 11:02:40 -07:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcunit1-dev
|
2016-10-07 15:24:33 -07:00
|
|
|
- libaio-dev
|
|
|
|
- libssl-dev
|
|
|
|
|
|
|
|
before_script:
|
2017-02-27 10:37:53 -07:00
|
|
|
- export MAKEFLAGS="-j$(nproc)"
|
2017-02-27 10:34:31 -07:00
|
|
|
- wget http://fast.dpdk.org/rel/dpdk-17.02.tar.xz
|
|
|
|
- tar xf dpdk-17.02.tar.xz
|
|
|
|
- pushd dpdk-17.02
|
2016-11-10 13:58:19 -07:00
|
|
|
- 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=.
|
2016-11-10 16:06:17 -07:00
|
|
|
- export DPDK_DIR=$PWD/usr/local/share/dpdk/x86_64-native-linuxapp-$CC
|
2016-11-10 13:58:19 -07:00
|
|
|
- popd
|
2015-11-04 11:02:40 -07:00
|
|
|
|
2017-01-24 15:46:33 -07:00
|
|
|
script:
|
|
|
|
- make CONFIG_WERROR=y
|
|
|
|
- ./unittest.sh
|