From cbcd6216996671f6cbbfd505f7d13dc26c2b96bb Mon Sep 17 00:00:00 2001 From: Roberto Scolaro Date: Wed, 7 Feb 2024 17:57:53 +0000 Subject: [PATCH] fix(ci): remove s390x e2e tests Signed-off-by: Roberto Scolaro --- .github/workflows/e2e_ci.yml | 46 ------------------------------------ 1 file changed, 46 deletions(-) diff --git a/.github/workflows/e2e_ci.yml b/.github/workflows/e2e_ci.yml index dabe7b92029..e90e29b465c 100644 --- a/.github/workflows/e2e_ci.yml +++ b/.github/workflows/e2e_ci.yml @@ -59,49 +59,3 @@ jobs: run: | cd build/test/libsinsp_e2e/ sudo ./libsinsp_e2e_tests ${{ matrix.driver.option }} - - build-drivers-s390x-ppc64le: - name: build-drivers-${{ matrix.arch }} ๐Ÿ˜ (system_deps) - runs-on: ubuntu-22.04 - strategy: - matrix: - arch: [s390x, ppc64le] - driver: [ {name: kmod, option: -k}, {name: bpf, option: -b}, {name: modern-bpf, option: -m} ] - fail-fast: false - env: - PLATFORM: ${{ matrix.arch == 'ppc64le' && 'powerpc64le' || 's390x' }} - steps: - - name: Checkout Libs โคต๏ธ - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - with: - fetch-depth: 0 - - - uses: uraimo/run-on-arch-action@4ed76f16f09d12e83abd8a49e1ac1e5bf08784d4 # v2.5.1 - name: Run ${{ matrix.arch }} build ๐Ÿ—๏ธ - with: - arch: ${{ matrix.arch }} - distro: ubuntu22.04 - githubToken: ${{ github.token }} - - install: | - apt update && apt install -y --no-install-recommends ca-certificates cmake build-essential clang llvm git pkg-config autoconf automake libtool libelf-dev wget libc-ares-dev libcurl4-openssl-dev libssl-dev libtbb-dev libjq-dev libjsoncpp-dev libgrpc++-dev protobuf-compiler-grpc libcap-dev libgtest-dev libprotobuf-dev linux-headers-generic - git clone https://github.com/libbpf/bpftool.git --branch v7.3.0 --single-branch - cd bpftool - git submodule update --init - cd src && make install - cd ../../ - git clone https://github.com/libbpf/libbpf.git --branch v1.3.0 --single-branch - cd libbpf/src && BUILD_STATIC_ONLY=y DESTDIR=/ make install - ln -s /usr/lib64/libbpf.a /usr/lib/${{env.PLATFORM}}-linux-gnu/ - # Please note: we cannot inject the BPF probe inside QEMU, so right now, we only build it - run: | - git config --global --add safe.directory $GITHUB_WORKSPACE - .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 -DENABLE_LIBSINSP_E2E_TESTS=ON -DBUILD_LIBSCAP_GVISOR=OFF ../ - KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j6 - - - name: Run e2e tests with ${{ matrix.driver.name }} ๐ŸŽ๏ธ - run: | - cd build/test/libsinsp_e2e/ - sudo ./libsinsp_e2e_tests ${{ matrix.driver.option }}