diff options
-rw-r--r-- | .cirrus.yml | 30 | ||||
-rw-r--r-- | Makefile.am | 1 |
2 files changed, 31 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; } diff --git a/Makefile.am b/Makefile.am index 64725654c..8408509c9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -76,6 +76,7 @@ EXTRA_DIST = \ MAINTAINERS.rst \ README.rst \ NOTICE \ + .cirrus.yml \ .travis.yml \ .travis/linux-build.sh \ .travis/linux-prepare.sh \ |