diff --git a/.github/workflows/e2e_ci.yml b/.github/workflows/e2e_ci.yml index 57accf93daf..46b0e43c949 100644 --- a/.github/workflows/e2e_ci.yml +++ b/.github/workflows/e2e_ci.yml @@ -30,15 +30,37 @@ jobs: - name: Install deps ⛓️ run: | - sudo apt update - sudo apt install -y --no-install-recommends ca-certificates cmake build-essential git pkg-config autoconf automake libelf-dev libcap-dev clang-14 llvm-14 libtool quota + sudo apt-get update && sudo apt-get install -y --no-install-recommends \ + ca-certificates \ + cmake \ + build-essential \ + clang-14 llvm-14 \ + git \ + clang \ + llvm \ + pkg-config \ + autoconf \ + automake \ + libtool \ + libelf-dev \ + wget \ + libc-ares-dev \ + libbpf-dev \ + libcap-dev \ + libcurl4-openssl-dev \ + libssl-dev \ + libtbb-dev \ + libjq-dev \ + libjsoncpp-dev \ + libgrpc++-dev \ + protobuf-compiler-grpc \ + libgtest-dev \ + libprotobuf-dev \ + liblua5.2-dev sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-14 90 sudo update-alternatives --install /usr/bin/llvm-strip llvm-strip /usr/bin/llvm-strip-14 90 sudo update-alternatives --install /usr/bin/llc llc /usr/bin/llc-14 90 - git clone https://github.com/libbpf/bpftool.git --branch v7.3.0 --single-branch - cd bpftool - git submodule update --init - cd src && sudo make install + sudo .github/install-deps.sh - name: Install kernel headers (actuated) uses: self-actuated/get-kernel-sources@master @@ -52,7 +74,13 @@ jobs: - name: Build e2e tests 🏗️ run: | mkdir -p build - cd build && cmake -DUSE_BUNDLED_DEPS=ON -DENABLE_LIBSINSP_E2E_TESTS=ON -DBUILD_LIBSCAP_MODERN_BPF=ON -DBUILD_BPF=ON -DBUILD_LIBSCAP_GVISOR=OFF ../ + cd build && \ + cmake \ + -DBUILD_BPF=ON \ + -DENABLE_LIBSINSP_E2E_TESTS=ON \ + -DBUILD_LIBSCAP_MODERN_BPF=ON \ + -DBUILD_LIBSCAP_GVISOR=OFF \ + -DUSE_BUNDLED_LIBBPF=ON make -j6 - name: Run e2e tests with ${{ matrix.driver.name }} 🏎️