@@ -23,11 +23,22 @@ jobs:
23
23
name : ubuntu
24
24
- image : fedora-39
25
25
name : fedora
26
- runs-on : ubuntu-22.04
26
+ runs-on : ubuntu-latest
27
27
container :
28
28
image : " manjusakalza/bpftime-base-image:${{matrix.container.image}}"
29
29
options : --privileged
30
30
steps :
31
+ - uses : actions/checkout@v2
32
+ name : " Clone the latest version"
33
+ with :
34
+ submodules : ' recursive'
35
+ path : ./bpftime
36
+ - uses : actions/checkout@v2
37
+ name : " Pull bpftrace"
38
+ with :
39
+ repository : " bpftrace/bpftrace"
40
+ submodules : ' recursive'
41
+ path : ' ./bpftrace_git'
31
42
- name : Install bpftrace dependencies in fedora
32
43
if : ${{ matrix.container.name=='fedora' }}
33
44
run : |
@@ -93,32 +104,21 @@ jobs:
93
104
bison \
94
105
asciidoctor \
95
106
libbpf-dev
96
- - uses : actions/checkout@v2
97
- name : " Clone the latest version"
98
- with :
99
- submodules : ' recursive'
100
- - name : " Create bpftrace dirs"
101
- run : mkdir /bpftrace /bpftrace_git
102
- - uses : actions/checkout@v2
103
- name : " Pull bpftrace"
104
- with :
105
- repository : " bpftrace/bpftrace"
106
- submodules : ' recursive'
107
- path : ' /bpftrace_git'
108
107
- name : Build and install bpftrace
109
- if : ${{!matrix.enable_jit}}
110
108
run : |
111
- cd /bpftrace_git
112
- cmake -B /bpftrace -DBUILD_TESTING=OFF
113
- make -C /bpftrace -j$(nproc)
109
+ cd . /bpftrace_git
110
+ cmake -B . /bpftrace -DBUILD_TESTING=OFF
111
+ make -C . /bpftrace -j$(nproc)
114
112
cd -
115
113
- name : Build and install runtime (with llvm-jit)
116
114
if : ${{matrix.enable_jit}}
117
115
run : |
116
+ cd ./bpftime
118
117
make release-with-llvm-jit -j
119
118
- name : Build and install runtime (without llvm-jit)
120
119
if : ${{!matrix.enable_jit}}
121
120
run : |
121
+ cd ./bpftime
122
122
make release -j
123
123
- name : Upload build results (without jit)
124
124
uses : actions/upload-artifact@v3
0 commit comments