@@ -8,20 +8,15 @@ freebsd_task:
8
8
freebsd_instance :
9
9
# FreeBSD fails to start with 1 GB. 8 CPUs max concurrency.
10
10
# The number of CPU cores must be either 1 or a multiple of 2.
11
- matrix :
12
- - image_family : freebsd-13-2
13
- cpu : 2
14
- memory : 2G
15
- - image_family : freebsd-14-0
16
- cpu : 2
17
- memory : 2G
11
+ cpu : 1
12
+ memory : 2G
13
+ image_family : freebsd-13-3
18
14
env :
19
15
IGNORE_OSVERSION : yes
20
- MAKEFLAGS : -j 3
21
- MATRIX_CC : clang15 gcc12
16
+ MATRIX_CC : clang17 gcc13
22
17
script :
23
- - pkg install -qy git autoconf gcc12 llvm15
24
- - pkg install -qy cmake # for build_matrix.sh and build.sh
18
+ - pkg install -qy git autoconf gcc13 llvm17
19
+ - pkg install -qy cmake-core # for build_matrix.sh and build.sh
25
20
- pkg install -qy pkgconf # for cmake, replaces pkg-config
26
21
- pkg install -qy sudo # for some tcpdump commands
27
22
- echo '$ git clone [...] libpcap.git'
@@ -34,28 +29,22 @@ linux_task:
34
29
container :
35
30
# Linux works just fine with 1 GB. 16 CPUs max concurrency.
36
31
# The number of CPU cores must be either 1 or a multiple of 2.
37
- cpu : 4
32
+ cpu : 1
38
33
memory : 1G
39
34
image : ubuntu:22.04
40
35
env :
41
36
DEBIAN_FRONTEND : noninteractive
42
- MAKEFLAGS : -j 5
43
- MATRIX_CC : gcc clang-15
44
37
LANG : C
45
38
script :
46
39
- apt-get -qy update >/dev/null
47
- - apt-get -qy install git autoconf make cmake clang-15 gcc bc >/dev/null
48
- - apt-get -qy install flex bison libdbus-1-dev libbluetooth-dev libnl-genl-3-dev libibverbs-dev >/dev/null # for libpcap
49
- - apt-get -qy install libssl-dev libsmi2-dev libcap-ng-dev libpcap-dev binutils-dev >/dev/null
50
- - apt-get -qy install sudo >/dev/null # for some tcpdump commands
51
- - apt list --installed 'lib*-dev'
52
- - echo '$ git clone [...] libpcap.git'
53
- - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
40
+ - apt-get -qy install autoconf make gcc libpcap-dev >/dev/null # for "./configure"
41
+ - apt-get -qy install cmake git binutils-dev >/dev/null # for "make releasecheck"
42
+ - apt-get -qy install shellcheck >/dev/null
54
43
- ./autogen.sh
55
44
- ./configure --quiet # build the Makefile
56
45
- make releasecheck
57
46
- make whitespacecheck
58
- - ./build_matrix.sh
47
+ - make shellcheck
59
48
60
49
macos_task :
61
50
name : macos-aarch64
@@ -75,20 +64,20 @@ coverity_task:
75
64
name : Coverity Scan
76
65
only_if : $CIRRUS_BRANCH == 'coverity_scan'
77
66
container :
78
- cpu : 4
67
+ cpu : 1
79
68
memory : 2G
80
69
image : ubuntu:22.04
81
70
env :
82
71
DEBIAN_FRONTEND : noninteractive
83
72
MAKEFLAGS : -j 5
84
73
COVERITY_SCAN_PROJECT_NAME : $CIRRUS_REPO_FULL_NAME
85
74
COVERITY_SCAN_TOKEN : ENCRYPTED[1b6f994cabfe74267ce2dce81fd9e49f694e9cfe69fb99f7d1580907bec1266efd7b38df3a47ccab53d5af98636f8e9c]
86
- COVERITY_SCAN_BUILD_COMMAND_PREPEND : ./configure
75
+ COVERITY_SCAN_BUILD_COMMAND_PREPEND : ./configure --enable-instrument-functions --enable-smb
87
76
COVERITY_SCAN_BUILD_COMMAND : make
88
77
script :
89
78
- apt-get -qy update >/dev/null
90
79
- apt-get -qy install autoconf make gcc >/dev/null
91
- - apt-get -qy install libssl-dev libsmi2-dev libcap-ng-dev libpcap-dev >/dev/null
80
+ - apt-get -qy install libssl-dev libsmi2-dev libcap-ng-dev libpcap-dev binutils-dev >/dev/null
92
81
- apt-get -qy install git curl wget ruby rubygems ruby-json >/dev/null # for the coverity script
93
82
- apt list --installed 'lib*-dev'
94
83
- ./autogen.sh
0 commit comments