Skip to content

Commit

Permalink
fix(ci): correctly handle job matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Feb 7, 2024
1 parent 28c7cde commit 7aa8ee4
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/e2e_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@ jobs:
strategy:
matrix:
arch: [amd64, arm64]
include:
- name: kmod
option: -k
- name: bpf
option: -b
- name: modern-bpf
option: -m
driver: [ {name: kmod, option: -k}, {name: bpf, option: -b}, {name: modern-bpf, option: -m} ]
fail-fast: false
steps:
- name: Checkout Libs ⤵️
Expand Down Expand Up @@ -61,10 +55,10 @@ 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 ${{ matrix.name }} 🏎️
- name: Run e2e tests with ${{ matrix.driver.name }} 🏎️
run: |
cd build/test/libsinsp/
sudo ./libsinsp_e2e_tests ${{ matrix.option }}
sudo ./libsinsp_e2e_tests ${{ matrix.driver.option }}
build-drivers-s390x-ppc64le:
name: build-drivers-${{ matrix.arch }} 😁 (system_deps)
Expand Down

0 comments on commit 7aa8ee4

Please sign in to comment.