File tree Expand file tree Collapse file tree 2 files changed +50
-2
lines changed Expand file tree Collapse file tree 2 files changed +50
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Attach Tests Workflow
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches : " *"
7
+ pull_request :
8
+ branches : " master"
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ build_and_test_attach :
16
+ runs-on : " ubuntu-latest"
17
+ strategy :
18
+ matrix :
19
+ container :
20
+ - ubuntu-2204
21
+ - fedora-39
22
+ container :
23
+ image : " manjusakalza/bpftime-base-image:${{matrix.container}}"
24
+ options : --privileged -v /sys/kernel/debug/:/sys/kernel/debug:rw -v /sys/kernel/tracing:/sys/kernel/tracing:rw
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ with :
28
+ submodules : ' recursive'
29
+
30
+ - name : Build for frida uprobe attach tests
31
+ run : |
32
+ cmake -B build
33
+ cmake --build build --config Debug --target bpftime_frida_uprobe_attach_tests -j$(nproc)
34
+
35
+ - name : Run frida uprobe attach tests
36
+ run : |
37
+ ./build/attach/frida_uprobe_attach_impl/bpftime_frida_uprobe_attach_tests
38
+
39
+ - name : Remove the build
40
+ run : rm -rf build
41
+
42
+ - name : Build syscall trace uprobe attach tests
43
+ run : |
44
+ cmake -B build
45
+ cmake --build build --config Debug --target bpftime_syscall_trace_attach_tests -j$(nproc)
46
+
47
+ - name : Run syscall trace uprobe attach tests
48
+ run : |
49
+ ./build/attach/syscall_trace_attach_impl/bpftime_syscall_trace_attach_tests
Original file line number Diff line number Diff line change 38
38
39
39
- name : build vm as a standalone library
40
40
run : |
41
- cd vm && make build-llvm -j
42
-
41
+ cd vm && make build-llvm -j
You can’t perform that action at this time.
0 commit comments