summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2019-11-20 21:11:33 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2019-11-21 12:33:24 +1100
commit9f86aff444f4df9d5b12a8013ffb136562009631 (patch)
treebcd4cbf9517eba2699f117a5312ce06e12a07e2d
parent34c82275bae6a1ff1350af036bfb5127f6bc1407 (diff)
downloaddevice-tree-compiler-9f86aff444f4df9d5b12a8013ffb136562009631.tar.gz
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 <emaste@freebsd.org> Message-Id: <20191120211133.69281-1-emaste@freefall.freebsd.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--.cirrus.yml21
1 files changed, 21 insertions, 0 deletions
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