Skip to content

Commit

Permalink
updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pathtofile committed Jul 7, 2024
1 parent 0dd2323 commit 5f5582d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 53 deletions.
45 changes: 0 additions & 45 deletions .github/docker/Dockerfile.ubuntu

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Dependecies
run: sudo apt install -y build-essential clang-14 libelf1 libelf-dev zlib1g-dev libbfd-dev libcap-dev
run: sudo apt install -y build-essential clang-14 llvm-14 libelf1 libelf-dev zlib1g-dev libbfd-dev libcap-dev

- name: Fix llvm-strip
run: sudo ln -s "$(which llvm-strip-14)" "$(dirname $(which llvm-strip-14))/llvm-strip"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
3 changes: 0 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ find_package(BpfObject REQUIRED)

# Create an executable for each application
file(GLOB apps *.bpf.c)
if(NOT CARGO_EXISTS)
list(REMOVE_ITEM apps ${CMAKE_CURRENT_SOURCE_DIR}/profile.bpf.c)
endif()
foreach(app ${apps})
get_filename_component(app_stem ${app} NAME_WE)

Expand Down

0 comments on commit 5f5582d

Please sign in to comment.