Skip to content

Merge branch 'linuxkerneltravel:develop' into develop #10

Merge branch 'linuxkerneltravel:develop' into develop

Merge branch 'linuxkerneltravel:develop' into develop #10

name: eBPF_proc_image
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/**'
- '.github/workflows/eBPF_proc_image.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/**'
- '.github/workflows/eBPF_proc_image.yml'
jobs:
proc_image-project-build-and-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install dependencies and Init Env
run: |
sudo apt update
sudo apt install libbpf-dev clang llvm libelf-dev libpcap-dev gcc-multilib build-essential
git submodule update --init --recursive
- name: Run lifecycle_image
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/tools
make lifecycle_image
sudo ./lifecycle_image -t 1
- name: Run lock_image
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/tools
make lock_image
sudo ./lock_image -t 1
- name: Run newlife_image
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/tools
make newlife_image
sudo ./newlife_image -t 1
- name: Run keytime_image
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/tools
make keytime_image
sudo ./keytime_image -t 1
- name: Run proc_image
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image
make proc_image
sudo ./proc_image -a -p 1 -t 1
- name: Run test_proc
run: |
cd eBPF_Supermarket/CPU_Subsystem/eBPF_proc_image/test
make
./test_proc