update job name and READEME.md with job status #6
Workflow file for this run
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: Test XDP program compile/load/attach on Ubuntu | |
on: [push, pull_request] | |
jobs: | |
xdp_test: | |
runs-on: ubuntu-latest | |
env: | |
C_INCLUDE_PATH: /usr/include/x86_64-linux-gnu | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up BPF toolchain | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang llvm libbpf-dev make linux-headers-$(uname -r) -y | |
find /usr/include -name 'types.h' | |
- name: Test compile XDP program | |
run: make compile | |
- name: Test attach XDP program | |
run: make attach | |
- name: Test detach XDP program | |
run: make detach |