forked from nmap/libpcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
54 lines (51 loc) · 1.34 KB
/
.cirrus.yml
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
# The internal git client reads CIRRUS_CLONE_DEPTH.
env:
CIRRUS_CLONE_DEPTH: 3
freebsd_task:
name: FBSD+BM
freebsd_instance:
matrix:
- image_family: freebsd-11-4
cpu: 2
memory: 2G
- image_family: freebsd-12-2
cpu: 2
memory: 2G
- image_family: freebsd-13-0-snap
cpu: 4
memory: 4G
env:
IGNORE_OSVERSION: yes
MAKEFLAGS: -j 4
MATRIX_CC: clang gcc48 gcc10
script:
- freebsd-version
- pkg install -qy autoconf gcc48 gcc10
- pkg install -qy bash cmake git # for build_matrix.sh and build.sh
- ./build_matrix.sh
linux_task:
name: LNX+BM
container:
image: ubuntu:20.04
cpu: 2
memory: 1G
env:
DEBIAN_FRONTEND: noninteractive # libnids-dev -> tzdata -> debconf
MAKEFLAGS: -j 3
script:
- apt-get -qy update
- apt-get -qy install libdbus-1-dev libbluetooth-dev libnl-genl-3-dev libibverbs-dev
- apt-get -qy install flex bison autoconf make clang gcc
- apt-get -qy install cmake git # for build_matrix.sh and build.sh
- apt list --installed 'lib*-dev'
- ./build_matrix.sh
macos_task:
name: MAC+BM
macos_instance:
image: big-sur-xcode
env:
MAKEFLAGS: '-j 12' # macOS VMs always run on 12 cores
MATRIX_CC: clang # GCC is a symlink to Clang in macOS
script:
- brew update >/dev/null
- ./build_matrix.sh