| 1 |
--- |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
name: Build code |
| 10 |
|
| 11 |
on: |
| 12 |
push: |
| 13 |
branches: |
| 14 |
- main |
| 15 |
pull_request: |
| 16 |
branches: |
| 17 |
- main |
| 18 |
|
| 19 |
jobs: |
| 20 |
build: |
| 21 |
runs-on: ubuntu-24.04 |
| 22 |
steps: |
| 23 |
- name: Checkout code |
| 24 |
uses: actions/checkout@v6 |
| 25 |
|
| 26 |
- name: Install dependencies |
| 27 |
uses: awalsh128/[email protected] |
| 28 |
with: |
| 29 |
packages: >- |
| 30 |
clang llvm cmake pkg-config libbpf-dev libyaml-dev libc6-dev build-essential libxdp-dev |
| 31 |
libssl-dev libmosquitto-dev bash sphinx python3-sphinx-rtd-theme |
| 32 |
version: 1.0 |
| 33 |
|
| 34 |
- name: Build code |
| 35 |
run: ./tools/ci/build.sh ubuntu |