Updated for latest libbpf and Ubuntu 22.04 #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Dependecies | |
run: sudo apt install -y build-essential clang-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" | |
- name: Build | |
run: cd src && make |