Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helight committed Apr 11, 2024
1 parent ea4bdcd commit 919e20b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 27 deletions.
23 changes: 3 additions & 20 deletions .github/workflows/old_project_cpu_subsystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/**'
- '.github/workflows/system_cpu.yml'
- '.github/workflows/old_project_cpu_subsystem.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/CPU_Subsystem/**'
- '.github/workflows/system_cpu.yml'
- '.github/workflows/old_project_cpu_subsystem.yml'

jobs:
CPU-Subsystem-build-and-test:
Expand Down Expand Up @@ -82,21 +82,4 @@ jobs:
cd program
chmod +x run.sh
uname -r
./run.sh
cpu_watcher-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 cpu_watcher
run: |
cd eBPF_Supermarket/CPU_Subsystem/cpu_watcher
make
sudo ./cpu_watcher
./run.sh
4 changes: 2 additions & 2 deletions .github/workflows/old_project_memory_subsystem.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: paf
name: Memory_Subsystem

on:
push:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
bpftool btf dump file /sys/kernel/btf/vmlinux format c > vmlinux.h
sudo make procstat
sudo timeout 20 ./procstat
sysstat-project-build-and-test:
runs-on: ubuntu-20.04
steps:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/old_project_net_subsystem.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: dns_cache
name: Network_Subsystem

on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Network_Subsystem/old_project/ebpf_dns_cache/**'
- '.github/workflows/dns_cache.yml'
- 'eBPF_Supermarket/Network_Subsystem/old_project/**'
- '.github/workflows/old_project_net_subsystem.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Network_Subsystem/old_project/ebpf_dns_cache/**'
- '.github/workflows/dns_cache.yml'
- 'eBPF_Supermarket/Network_Subsystem/old_project/**'
- '.github/workflows/old_project_net_subsystem.yml'

jobs:
ebpf_dns_cache_build-and-test:
Expand Down

0 comments on commit 919e20b

Please sign in to comment.