Skip to content

Commit 50a432c

Browse files
committed
Cirrus CI: Synchronize with the master branch.
1 parent 91bd41e commit 50a432c

File tree

1 file changed

+14
-25
lines changed

1 file changed

+14
-25
lines changed

.cirrus.yml

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,15 @@ freebsd_task:
88
freebsd_instance:
99
# FreeBSD fails to start with 1 GB. 8 CPUs max concurrency.
1010
# 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
1814
env:
1915
IGNORE_OSVERSION: yes
20-
MAKEFLAGS: -j 3
21-
MATRIX_CC: clang15 gcc12
16+
MATRIX_CC: clang17 gcc13
2217
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
2520
- pkg install -qy pkgconf # for cmake, replaces pkg-config
2621
- pkg install -qy sudo # for some tcpdump commands
2722
- echo '$ git clone [...] libpcap.git'
@@ -34,28 +29,22 @@ linux_task:
3429
container:
3530
# Linux works just fine with 1 GB. 16 CPUs max concurrency.
3631
# The number of CPU cores must be either 1 or a multiple of 2.
37-
cpu: 4
32+
cpu: 1
3833
memory: 1G
3934
image: ubuntu:22.04
4035
env:
4136
DEBIAN_FRONTEND: noninteractive
42-
MAKEFLAGS: -j 5
43-
MATRIX_CC: gcc clang-15
4437
LANG: C
4538
script:
4639
- 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
5443
- ./autogen.sh
5544
- ./configure --quiet # build the Makefile
5645
- make releasecheck
5746
- make whitespacecheck
58-
- ./build_matrix.sh
47+
- make shellcheck
5948

6049
macos_task:
6150
name: macos-aarch64
@@ -75,20 +64,20 @@ coverity_task:
7564
name: Coverity Scan
7665
only_if: $CIRRUS_BRANCH == 'coverity_scan'
7766
container:
78-
cpu: 4
67+
cpu: 1
7968
memory: 2G
8069
image: ubuntu:22.04
8170
env:
8271
DEBIAN_FRONTEND: noninteractive
8372
MAKEFLAGS: -j 5
8473
COVERITY_SCAN_PROJECT_NAME: $CIRRUS_REPO_FULL_NAME
8574
COVERITY_SCAN_TOKEN: ENCRYPTED[1b6f994cabfe74267ce2dce81fd9e49f694e9cfe69fb99f7d1580907bec1266efd7b38df3a47ccab53d5af98636f8e9c]
86-
COVERITY_SCAN_BUILD_COMMAND_PREPEND: ./configure
75+
COVERITY_SCAN_BUILD_COMMAND_PREPEND: ./configure --enable-instrument-functions --enable-smb
8776
COVERITY_SCAN_BUILD_COMMAND: make
8877
script:
8978
- apt-get -qy update >/dev/null
9079
- 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
9281
- apt-get -qy install git curl wget ruby rubygems ruby-json >/dev/null # for the coverity script
9382
- apt list --installed 'lib*-dev'
9483
- ./autogen.sh

0 commit comments

Comments
 (0)