From 9f86aff444f4df9d5b12a8013ffb136562009631 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 20 Nov 2019 21:11:33 +0000 Subject: [PATCH] Add .cirrus.yml for FreeBSD build Right now this is just a build test for FreeBSD, along with a Linux build and "make check." A later change will add "gmake check" for FreeBSD. Signed-off-by: Ed Maste Message-Id: <20191120211133.69281-1-emaste@freefall.freebsd.org> Signed-off-by: David Gibson --- .cirrus.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..de4a318 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,21 @@ +env: + CIRRUS_CLONE_DEPTH: 1 + +freebsd_12_task: + freebsd_instance: + image: freebsd-12-1-release-amd64 + install_script: + pkg install -y bison gmake pkgconf + build_script: + gmake + +linux_gcc_task: + container: + image: gcc:latest + install_script: + - apt-get update + - apt-get -y install bison flex + build_script: + - make + test_script: + - make check