2020-01-27 03:44:04 +08:00
|
|
|
# The internal git client reads CIRRUS_CLONE_DEPTH.
|
|
|
|
env:
|
|
|
|
CIRRUS_CLONE_DEPTH: 3
|
|
|
|
MAXJOBS: 2
|
2020-02-27 19:45:38 +08:00
|
|
|
IGNORE_OSVERSION: yes
|
2020-01-27 03:44:04 +08:00
|
|
|
|
|
|
|
task:
|
|
|
|
freebsd_instance:
|
|
|
|
matrix:
|
2020-02-10 02:33:28 +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:
|
2020-02-10 02:28:37 +08:00
|
|
|
- pkg update -f
|
2020-01-27 03:44:04 +08:00
|
|
|
- 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
|