mirror of
https://github.com/daeuniverse/dae.git
synced 2025-01-18 16:29:11 +07:00
29 lines
630 B
YAML
29 lines
630 B
YAML
|
name: BPF Test
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths:
|
||
|
- "**/*.c"
|
||
|
- "**/*.h"
|
||
|
- "go.mod"
|
||
|
- "go.sum"
|
||
|
- ".github/workflows/bpf-test.yml"
|
||
|
|
||
|
permissions: read-all
|
||
|
|
||
|
jobs:
|
||
|
bpf_tests:
|
||
|
name: BPF Unit Test
|
||
|
runs-on: ubuntu-24.04
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||
|
with:
|
||
|
persist-credentials: false
|
||
|
fetch-depth: 0
|
||
|
- name: Run BPF tests
|
||
|
run: |
|
||
|
git submodule update --init
|
||
|
sudo make ebpf-test || (echo "Run 'make ebpf-test' locally to investigate failures"; exit 1)
|
||
|
|