summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorLance Yang <Lance.Yang@arm.com>2020-03-24 15:00:37 +0800
committerIlya Maximets <i.maximets@ovn.org>2020-03-25 00:37:23 +0100
commite99c53ee6167a3b12426ea1d9f913713dd80810b (patch)
tree0eaac4ba0d2eeda114bf72a5d396964539d2712a /.travis.yml
parent1b6db6a5fa4b09444a9a30f4327ac7b9b8027741 (diff)
downloadopenvswitch-e99c53ee6167a3b12426ea1d9f913713dd80810b.tar.gz
travis: Enable OvS Travis CI for arm
Enable part of travis jobs with gcc compiler for arm64 architecture 1. Add arm jobs into the matrix in .travis.yml configuration file 2. To enable OVS-DPDK jobs, set the build target according to different CPU architectures 3. Temporarily disable sparse checker because of static code checking failure on arm64 Considering the balance of the CI coverage and running time, some kernel and DPDK jobs are removed from Arm CI. Successful travis build jobs report: https://travis-ci.org/github/yzyuestc/ovs/builds/666129448 Reviewed-by: Yanqin Wei <Yanqin.Wei@arm.com> Reviewed-by: Ruifeng Wang <Ruifeng.Wang@arm.com> Reviewed-by: JingZhao Ni <JingZhao.Ni@arm.com> Reviewed-by: Gavin Hu <Gavin.Hu@arm.com> Signed-off-by: Lance Yang <Lance.Yang@arm.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ef9f86755..11497588b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,6 +51,21 @@ matrix:
- os: osx
compiler: clang
env: OPTS="--disable-ssl"
+ - arch: arm64
+ compiler: gcc
+ env: OPTS="--disable-ssl"
+ - arch: arm64
+ compiler: gcc
+ env: KERNEL_LIST="5.5 4.19"
+ - arch: arm64
+ compiler: gcc
+ env: KERNEL_LIST="4.9 3.16"
+ - arch: arm64
+ compiler: gcc
+ env: DPDK=1 OPTS="--enable-shared"
+ - arch: arm64
+ compiler: gcc
+ env: DPDK_SHARED=1
script: ./.travis/${TRAVIS_OS_NAME}-build.sh $OPTS