2020-01-27 03:44:04 +08:00
|
|
|
# The internal git client reads CIRRUS_CLONE_DEPTH.
|
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 3
|
|
|
|
MAXJOBS: 2
|
|
|
|
|
|
|
|
task:
|
|
|
|
freebsd_instance:
|
|
|
|
matrix:
|
2020-02-07 21:47:54 +08:00
|
|
|
# - image_family: freebsd-11-3-snap
|
2020-01-27 03:44:04 +08:00
|
|
|
- image_family: freebsd-12-1-snap
|
|
|
|
- image_family: freebsd-13-0-snap
|
|
|
|
script:
|
|
|
|
- pkg install -qy git autoconf
|
2020-02-05 06:49:48 +08:00
|
|
|
- (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 -j${MAXJOBS})
|
2020-01-27 03:44:04 +08:00
|
|
|
- touch .devel
|
|
|
|
- ./configure
|
2020-02-05 06:49:48 +08:00
|
|
|
- make -s -j${MAXJOBS} all
|
|
|
|
- make check
|