summaryrefslogtreecommitdiff
path: root/.cirrus.yml
blob: 5ae0f26af8e30b740c0e6338f5bea3a8359955a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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:
    matrix:
      - image_family: freebsd-11-3-snap
      - image_family: freebsd-12-1-snap
      - image_family: freebsd-13-0-snap
  script:
    - freebsd-version
    - 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)
    - touch .devel
    - ./configure --prefix=/tmp
    - make -s CFLAGS=-Werror all
    - make check
    - make install
    - make releasetar