Skip to content

Commit

Permalink
update(CI): try to catch at least some events
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Terzolo <[email protected]>
  • Loading branch information
Andreagit97 authored and poiana committed Dec 12, 2023
1 parent 1d4cabc commit dae6bcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,20 @@ jobs:
name: Run scap-open with modern bpf 🏎️
command: |
cd /tmp/libs/build
sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 0
sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 10
- run:
name: Run scap-open with bpf 🏎️
command: |
cd /tmp/libs/build
sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 0
sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 10
- run:
name: Run scap-open with kmod 🏎️
command: |
cd /tmp/libs/build
sudo insmod ./driver/scap.ko || true
sudo ./libscap/examples/01-open/scap-open --kmod --num_events 0
sudo ./libscap/examples/01-open/scap-open --kmod --num_events 10
sudo rmmod scap
# Here we test libraries
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,18 @@ jobs:
- name: Run scap-open with modern bpf 🏎️
run: |
cd build
sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 0
sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 10
- name: Run scap-open with bpf 🏎️
run: |
cd build
sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 0
sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 10
- name: Run scap-open with kmod 🏎️
run: |
cd build
sudo insmod ./driver/scap.ko
sudo ./libscap/examples/01-open/scap-open --kmod --num_events 0
sudo ./libscap/examples/01-open/scap-open --kmod --num_events 10
sudo rmmod scap
- name: Run libscap_test 🏎️
Expand Down

0 comments on commit dae6bcf

Please sign in to comment.