tcpdump/.cirrus.yml
Denis Ovsienko 54b5db3dde Cirrus CI: Fix the FreeBSD 13 task. [skip travis] [skip appveyor]
Use FreeBSD 11.4-RELEASE and 12.1-RELEASE instead of 11.3-CURRENT and
12.1-CURRENT, this allows to drop "pkg update -f", which was a
workaround for 11.3-CURRENT (see commit 96c4db3), and which had later
broken in 13.0-CURRENT. Relates to cirruslabs/cirrus-ci-docs#695.
2020-09-03 14:51:52 +01:00

24 lines
750 B
YAML

env:
CIRRUS_CLONE_DEPTH: 3 # The internal git client reads CIRRUS_CLONE_DEPTH.
MAKEFLAGS: '-j 2' # The build VMs currently have two CPU cores.
IGNORE_OSVERSION: yes
task:
freebsd_instance:
image_family: $IMAGE_FAMILY
env:
matrix:
- IMAGE_FAMILY: freebsd-11-4
- IMAGE_FAMILY: freebsd-12-1
- IMAGE_FAMILY: freebsd-13-0-snap
script:
- freebsd-version
- 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 -s)
- touch .devel
- ./configure --prefix=/tmp
- make -s CFLAGS=-Werror all
- make check
- make install
- make releasetar