Skip to content

Merge pull request #832 from Monkey857/develop #46

Merge pull request #832 from Monkey857/develop

Merge pull request #832 from Monkey857/develop #46

name: cpu_watcher
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/cpu_watcher/**'
- '.github/workflows/cpu_watcher.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/cpu_watcher/**'
- '.github/workflows/cpu_watcher.yml'
jobs:
cpu_watcher-project-build-and-test:
runs-on: ubuntu-22.04
steps:

Check failure on line 20 in .github/workflows/ebpf_cpu_watcher.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ebpf_cpu_watcher.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- uses: actions/checkout@v3
- name: Install dependencies
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 cpu_watcher
run: |
cd eBPF_Supermarket/CPU_Subsystem/cpu_watcher/
make
sudo ./cpu_watcher
- name: Run test_cpuwatcher
run: |
cd eBPF_Supermarket/CPU_Subsystem/cpu_watcher/test
make
./test_cpuwatcher