summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: 88fec7277b4aa17b4a7928ac35732f80d67e11ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 update -f
    - 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 -j${MAXJOBS})
    - touch .devel
    - ./configure
    - make -s -j${MAXJOBS} all
    - make check