Skip to content

Commit

Permalink
fix(ci): don't fail fast on libsinsp_e2e
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Feb 6, 2024
1 parent 9c1bce6 commit 9a32ccb
Showing 1 changed file with 18 additions and 24 deletions.
42 changes: 18 additions & 24 deletions .github/workflows/e2e_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
strategy:
matrix:
arch: [amd64, arm64]
include:
- name: kmod
option: -k
- name: bpf
option: -b
- name: modern-bpf
option: -m
fail-fast: false
steps:
- name: Checkout Libs ⤵️
Expand Down Expand Up @@ -55,27 +62,24 @@ jobs:
cd build && cmake -DUSE_BUNDLED_DEPS=ON -DENABLE_LIBSINSP_TESTS=ON -DBUILD_LIBSCAP_MODERN_BPF=ON -DBUILD_BPF=ON -DBUILD_LIBSCAP_GVISOR=OFF ../
make -j6
- name: Run e2e tests with modern bpf 🏎️
- name: Run e2e tests with ${{ matrix.name }} 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -m
- name: Run e2e tests with bpf 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -b
- name: Run e2e tests with kmod 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -k
sudo ./libsinsp_e2e_tests ${{ matrix.option }}
build-drivers-s390x-ppc64le:
name: build-drivers-${{ matrix.arch }} 😁 (system_deps)
runs-on: ubuntu-22.04
strategy:
matrix:
arch: [s390x, ppc64le]
include:
- name: kmod
option: -k
- name: bpf
option: -b
- name: modern-bpf
option: -m
fail-fast: false
env:
PLATFORM: ${{ matrix.arch == 'ppc64le' && 'powerpc64le' || 's390x' }}
Expand Down Expand Up @@ -110,17 +114,7 @@ jobs:
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_TESTS=ON -DBUILD_LIBSCAP_GVISOR=OFF ../
KERNELDIR=/lib/modules/$(ls /lib/modules)/build make -j6
- name: Run e2e tests with modern bpf 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -m
- name: Run e2e tests with bpf 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -b
- name: Run e2e tests with kmod 🏎️
- name: Run e2e tests with ${{ matrix.name }} 🏎️
run: |
cd build/test/libsinsp/
sudo ./tests -k
sudo ./libsinsp_e2e_tests ${{ matrix.option }}

0 comments on commit 9a32ccb

Please sign in to comment.