Skip to content

Commit

Permalink
build: disable the benchmark build on CI
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
qdeslandes committed Feb 2, 2025
1 parent 1d768b7 commit 4ccaa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Checkout bpfilter
uses: actions/checkout@v2
- name: Configure the build
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build
run: cmake -S $GITHUB_WORKSPACE -B $GITHUB_WORKSPACE/build -DNO_BENCHMARKS=1
- name: Build all
run: make -C $GITHUB_WORKSPACE/build -j `nproc`

Expand Down

0 comments on commit 4ccaa6a

Please sign in to comment.