summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-01-26 19:44:04 +0000
committerDenis Ovsienko <denis@ovsienko.info>2020-01-26 21:31:43 +0000
commit32658d9c536482e724f3bf71fa818786ef0eabbb (patch)
treec1b68db751d9f4c8f5f21eb7070ea6e84da79c95 /.cirrus.yml
parent420e818e568e6c43f8bb61319828be5e0d43168b (diff)
downloadtcpdump-32658d9c536482e724f3bf71fa818786ef0eabbb.tar.gz
CI: Add initial FreeBSD support via Cirrus.
This first working revision runs a straightforward default compilation of libpcap and tcpdump on three versions of FreeBSD.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
new file mode 100644
index 00000000..6cf7aa12
--- /dev/null
+++ b/.cirrus.yml
@@ -0,0 +1,19 @@
+# The internal git client reads CIRRUS_CLONE_DEPTH.
+env:
+ CIRRUS_CLONE_DEPTH: 3
+ MAXJOBS: 2
+
+task:
+ freebsd_instance:
+ matrix:
+ - image_family: freebsd-11-3-snap
+ - image_family: freebsd-12-1-snap
+ - image_family: freebsd-13-0-snap
+ script:
+ - pkg install -qy git autoconf
+ - (cd .. && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure --prefix=/tmp && make -j${MAXJOBS})
+ - touch .devel
+ - ./configure
+ - make -s all
+# The tests are currently broken.
+# - make check