@@ -23,11 +23,22 @@ jobs:
2323 name : ubuntu
2424 - image : fedora-39
2525 name : fedora
26- runs-on : ubuntu-22 .04
26+ runs-on : ubuntu-24 .04
2727 container :
2828 image : " manjusakalza/bpftime-base-image:${{matrix.container.image}}"
2929 options : --privileged
3030 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'
3142 - name : Install bpftrace dependencies in fedora
3243 if : ${{ matrix.container.name=='fedora' }}
3344 run : |
@@ -93,32 +104,21 @@ jobs:
93104 bison \
94105 asciidoctor \
95106 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'
108107 - name : Build and install bpftrace
109- if : ${{!matrix.enable_jit}}
110108 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)
114112 cd -
115113 - name : Build and install runtime (with llvm-jit)
116114 if : ${{matrix.enable_jit}}
117115 run : |
116+ cd ./bpftime
118117 make release-with-llvm-jit -j
119118 - name : Build and install runtime (without llvm-jit)
120119 if : ${{!matrix.enable_jit}}
121120 run : |
121+ cd ./bpftime
122122 make release -j
123123 - name : Upload build results (without jit)
124124 uses : actions/upload-artifact@v3
0 commit comments