From fd97f99b9fb8227608d91e9906f16621772a5ece Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Tue, 19 May 2020 15:57:53 +0200 Subject: [PATCH] build: focal builder generic kernel headers Co-Authored-By: Leonardo Di Donato Signed-off-by: Lorenzo Fontana --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a9554189..59403e07 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,19 +12,19 @@ jobs: command: apt update -y - run: name: Install dependencies - command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev -y + command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev linux-headers-generic clang llvm -y - run: name: Prepare project command: | mkdir build pushd build - cmake .. + cmake -DBUILD_BPF=On .. popd - run: name: Build command: | pushd build - make -j4 all + KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j4 all popd - run: name: Run unit tests @@ -44,19 +44,19 @@ jobs: command: apt update -y - run: name: Install dependencies - command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev -y + command: DEBIAN_FRONTEND=noninteractive apt install libssl-dev libyaml-dev libncurses-dev libc-ares-dev libprotobuf-dev protobuf-compiler libjq-dev libyaml-cpp-dev libgrpc++-dev protobuf-compiler-grpc rpm libelf-dev cmake build-essential libcurl4-openssl-dev linux-headers-generic clang llvm -y - run: name: Prepare project command: | mkdir build pushd build - cmake -DCMAKE_BUILD_TYPE=debug .. + cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_BPF=On .. popd - run: name: Build command: | pushd build - make -j4 all + KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j4 all popd - run: name: Run unit tests