blob: 1c0be6e3a885b534a11933332468610532b868f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
env:
CIRRUS_CLONE_DEPTH: 3 # The internal git client reads CIRRUS_CLONE_DEPTH.
LIBPCAP_GIT: https://github.com/the-tcpdump-group/libpcap.git
freebsd_task:
name: FBSD+BM
freebsd_instance:
cpu: 2 # up to 4 concurrent FreeBSD tasks
memory: 2G # fails to start with 1 GB
matrix:
- image_family: freebsd-11-4
- image_family: freebsd-12-2
- image_family: freebsd-13-0-snap
env:
IGNORE_OSVERSION: yes
MAKEFLAGS: -j 3
MATRIX_CC: clang gcc10
script:
- freebsd-version
- pkg install -qy git autoconf gcc10
- pkg install -qy bash cmake # for build_matrix.sh and build.sh
- pkg install -qy pkgconf # for cmake, replaces pkg-config
- (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT})
- ./build_matrix.sh
linux_task:
name: LNX+BM
container:
cpu: 4 # up to 2 concurrent Linux tasks
memory: 1G
image: ubuntu:20.04
env:
DEBIAN_FRONTEND: noninteractive
MAKEFLAGS: -j 5
matrix:
- MATRIX_CC: gcc
- MATRIX_CC: clang
script:
- apt-get -qy update
- apt-get -qy install git autoconf make cmake clang gcc
- apt-get -qy install flex bison libdbus-1-dev libbluetooth-dev libnl-genl-3-dev libibverbs-dev # for libpcap
- apt-get -qy install libssl-dev libsmi2-dev libcap-ng-dev libpcap-dev
- apt list --installed 'lib*-dev'
- (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT})
- ./build_matrix.sh
macos_task:
name: MAC+BM
macos_instance:
image: big-sur-xcode
# "cpu" and "memory" are invalid keywords for macOS tasks now
env:
MAKEFLAGS: '-j 12'
MATRIX_CC: clang # GCC is a symlink to Clang in macOS
script:
- brew update >/dev/null
- brew install libsmi | grep -v '%'
- (cd .. && echo '$ git clone [...] libpcap.git' && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT})
- ./build_matrix.sh
|