Skip to content

Commit 4ccaa6a

Browse files
committed
build: disable the benchmark build on CI
The CI build step runs on all of the supported distributions. However, the benchmark currently doesn't support Fedora 39 (bpf_prog_get_info_by_fd() doesn't exists there). This change disable the benchmark build for the build step of the CI (the benchmark will run for Fedora 41 anyway).
1 parent 1d768b7 commit 4ccaa6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Checkout bpfilter
8080
uses: actions/checkout@v2
8181
- name: Configure the build
82-
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build
82+
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build -DNO_BENCHMARKS=1
8383
- name: Build all
8484
run: make -C $GITHUB_WORKSPACE/build -j `nproc`
8585

0 commit comments

Comments
 (0)