Skip to content

[FEATURE] Add CI to test bpftrace #274

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
change bpftrace pull directory from tmp to opt
  • Loading branch information
tdaudi committed Apr 19, 2024
commit 01a6391e80f7eafb1ffc7d3b7e546aba78dcbeb9
4 changes: 2 additions & 2 deletions .github/workflows/test-bpftrace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
repository: "bpftrace/bpftrace"
submodules: 'recursive'
path: '/tmp/bpftrace'
path: '/opt/bpftrace'
- name: Build and install runtime (with llvm-jit)
if: ${{matrix.enable_jit}}
run: |
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Build and install bpftrace
if: ${{!matrix.enable_jit}}
run: |
cd /tmp/bpftrace
cd /opt/bpftrace
cmake -B /bpftrace -DBUILD_TESTING=OFF
make -C /bpftrace -j$(nproc)
cd -
Expand Down