mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-03 02:04:30 +08:00
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -14,7 +14,9 @@ jobs:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3.3.0
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
14
.github/workflows/test-libbpf.yml
vendored
14
.github/workflows/test-libbpf.yml
vendored
@@ -68,4 +68,16 @@ jobs:
|
||||
- name: test 35-user-ringbuf
|
||||
run: |
|
||||
make -C src/35-user-ringbuf
|
||||
sudo timeout -s 2 3 src/35-user-ringbuf/user_ringbuf || if [ $? = 124 ]; then exit 0; else exit $?; fi
|
||||
sudo timeout -s 2 3 src/35-user-ringbuf/user_ringbuf || if [ $? = 124 ]; then exit 0; else exit $?; fi
|
||||
|
||||
- name: test 41 xdp
|
||||
run: |
|
||||
make -C src/41-xdp-tcpdump
|
||||
|
||||
- name: test 42 xdp
|
||||
run: |
|
||||
make -C src/42-xdp-loadbalancer
|
||||
|
||||
- name: test 43 kfuncs
|
||||
run: |
|
||||
make -C src/43-kfuncs
|
||||
|
||||
Reference in New Issue
Block a user