Skip to content

Commit

Permalink
fix(CI): remove KERNELDIR= since the default should be enough
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
  • Loading branch information
Andreagit97 authored and poiana committed Dec 11, 2023
1 parent 8eb2fc2 commit 404e649
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
run: |
mkdir -p build
cd build && cmake -DBUILD_SHARED_LIBS=True -DUSE_BUNDLED_DEPS=False -DMINIMAL_BUILD=True -DCMAKE_INSTALL_PREFIX=/tmp/libs-test ../
KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j4
make -j4
make run-unit-tests
- name: Install
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
.github/install-deps.sh
mkdir -p build
cd build && cmake -DBUILD_BPF=On -DUSE_BUNDLED_DEPS=OFF -DMODERN_PROBE_INCLUDE="-I/usr/include/${{env.PLATFORM}}-linux-gnu" -DBUILD_LIBSCAP_MODERN_BPF=ON -DMODERN_BPF_DEBUG_MODE=ON -DENABLE_DRIVERS_TESTS=On -DCREATE_TEST_TARGETS=On -DBUILD_LIBSCAP_GVISOR=OFF ../
KERNELDIR=/lib/modules/$(ls /lib/modules)/build make driver bpf drivers_test -j6
make driver bpf drivers_test -j6
# This job checks that a bundled deps of libs is as static as possible
test-libs-static:
Expand Down Expand Up @@ -510,5 +510,5 @@ jobs:
run: |
mkdir -p build
cd build && emcmake cmake -DUSE_BUNDLED_DEPS=True ../
KERNELDIR=/lib/modules/$(ls /lib/modules)/build emmake make -j4
KERNELDIR=/lib/modules/$(ls /lib/modules)/build emmake make run-unit-tests -j4
emmake make -j4
emmake make run-unit-tests -j4

0 comments on commit 404e649

Please sign in to comment.