Skip to content

eBPF-based security platform

ci: install Coccinelle for the CI suite so that t0006 runs

Daniel Borkmann3f3927735cbc
diff --git a/.github/scripts/tests.sh b/.github/scripts/tests.sh
index c3399954..d93805b8 100755
--- a/.github/scripts/tests.sh
+++ b/.github/scripts/tests.sh
@@ -224,7 +224,7 @@ setup() {
autoconf autoconf-archive automake clang-20 cloud-image-utils \
dracut-core file isc-dhcp-client libguestfs-tools libltdl-dev \
libtool libzstd-dev cryptsetup-bin e2fsprogs qemu-system-x86 qemu-utils swtpm \
- swtpm-tools tpm2-tools
+ swtpm-tools tpm2-tools coccinelle
# Ubuntu 24.04's clang 18 lacks the BPF address-space casts the
# arena upatches need, and shirudo-build runs /usr/bin/clang.
diff --git a/Documentation/contribute/testing/testing.rst b/Documentation/contribute/testing/testing.rst
index d1947677..f8dac51e 100644
--- a/Documentation/contribute/testing/testing.rst
+++ b/Documentation/contribute/testing/testing.rst
@@ -24,6 +24,9 @@ Before you begin
``cryptsetup-bin`` and ``mkfs.ext4`` from ``e2fsprogs`` for the image
tests, ``libtpms-dev`` for the TPM simulator helper and ``rpmbuild``
for the rpm packaging test.
+- For the ``ci-checks`` tests: ``git``, ``jq``, ``pkg-config``,
+ ``readelf`` and ``spatch`` from Coccinelle. A test whose tool is
+ missing skips. The runner of the ``CI suite`` workflow has them all.
- For the tests that boot a VM: root, a readable and writable
``/dev/kvm``, an x86-64 or arm64 host and what ``make target`` needs,
since the bundle a VM boots holds the static target binary. On Ubuntu,