forked from linuxkerneltravel/lmp
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.06 KB
/
system_memory.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Memory Subsystem
on:
push:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/**'
- '.github/workflows/system_memory.yml'
pull_request:
branches:
- "*"
paths:
- 'eBPF_Supermarket/Memory_Subsystem/**'
- '.github/workflows/system_memory.yml'
jobs:
build-and_tast:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: build libbpf
run: |
sudo apt-get install llvm clang
#构建环境过程存在部分错误
#
- name: run procstat
run: |
cd eBPF_Supermarket/Memory_Subsystem/memstat/procstat
make
sudo ./procstat
- name: run sysstat
run: |
cd eBPF_Supermarket/Memory_Subsystem/memstat/sysstat
make
sudo ./sysstat
- name: run paf
run: |
cd eBPF_Supermarket/Memory_Subsystem/paf
make
sudo ./paf
- name: run pr
run: |
cd eBPF_Supermarket/Memory_Subsystem/pr
make
./pr