Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptSathi committed Apr 19, 2024
1 parent 8d6bf32 commit fdd250d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test-bpftrace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,22 @@ jobs:
name: ubuntu
- image: fedora-39
name: fedora
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: "manjusakalza/bpftime-base-image:${{matrix.container.image}}"
options: --privileged
steps:
- uses: actions/checkout@v2
name: "Clone the latest version"
with:
submodules: 'recursive'
path: ./bpftime
- uses: actions/checkout@v2
name: "Pull bpftrace"
with:
repository: "bpftrace/bpftrace"
submodules: 'recursive'
path: './bpftrace_git'
- name: Install bpftrace dependencies in fedora
if: ${{ matrix.container.name=='fedora' }}
run: |
Expand Down Expand Up @@ -93,32 +104,21 @@ jobs:
bison \
asciidoctor \
libbpf-dev
- uses: actions/checkout@v2
name: "Clone the latest version"
with:
submodules: 'recursive'
- name: "Create bpftrace dirs"
run: mkdir /bpftrace /bpftrace_git
- uses: actions/checkout@v2
name: "Pull bpftrace"
with:
repository: "bpftrace/bpftrace"
submodules: 'recursive'
path: '/bpftrace_git'
- name: Build and install bpftrace
if: ${{!matrix.enable_jit}}
run: |
cd /bpftrace_git
cmake -B /bpftrace -DBUILD_TESTING=OFF
make -C /bpftrace -j$(nproc)
cd ./bpftrace_git
cmake -B ./bpftrace -DBUILD_TESTING=OFF
make -C ./bpftrace -j$(nproc)
cd -
- name: Build and install runtime (with llvm-jit)
if: ${{matrix.enable_jit}}
run: |
cd ./bpftime
make release-with-llvm-jit -j
- name: Build and install runtime (without llvm-jit)
if: ${{!matrix.enable_jit}}
run: |
cd ./bpftime
make release -j
- name: Upload build results (without jit)
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit fdd250d

Please sign in to comment.