diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2018-12-11 17:34:17 +0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-12-11 13:52:22 -0800 |
commit | b1331295eaada5bc0e3bcd7e3b964003af3273d6 (patch) | |
tree | b9c7a0c95c912aba2baa3e975b6b9bdf222bcc30 /.cirrus.yml | |
parent | 1270b6e52c75484fd3ad74bdf639a21939c08e63 (diff) | |
download | openvswitch-b1331295eaada5bc0e3bcd7e3b964003af3273d6.tar.gz |
cirrus: Add Cirrus CI integration for FreeBSD build
CirrusCI [1] is free for open-sorce projects and provides similar
to TravisCI interfaces. One significant difference is ability
to run tasks on FreeBSD instances.
This patch adds simple configuration file to test OVS build
on two FreeBSD releases with gcc and clang.
Unit tests are commented out because they are broken for now.
To enable the automated checks Cirrus CI application from GitHub
Marketplace should be installed. See details in Quick Start guide [2].
[1] https://cirrus-ci.org
[2] https://cirrus-ci.org/guide/quick-start/
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000..4902fd370 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,30 @@ +freebsd_build_task: + + freebsd_instance: + matrix: + image: freebsd-12-0-release-amd64 + image: freebsd-11-2-release-amd64 + cpu: 4 + memory: 8G + + env: + matrix: + COMPILER: gcc + COMPILER: clang + + prepare_script: + - pkg install -y automake libtool gmake gcc wget + python py27-six py27-sphinx + + configure_script: + - ./boot.sh + - ./configure CC=$COMPILER MAKE=gmake OVS_CFLAGS='-Wall' --enable-Werror + || { cat config.log; exit 1; } + + build_script: + - gmake -j8 + +# TODO(i.maximets): Uncomment the test suite execution when it is fixed. +# check_script: +# - gmake -j8 check TESTSUITEFLAGS=-j8 RECHECK=yes +# || { cat ./tests/testsuite.log; exit 1; } |