Install LibXDP in run workflow.

This commit is contained in:
Christian Deacon
2025-03-28 13:48:39 -04:00
parent 947e02c9ce
commit e71f05a422

View File

@@ -14,6 +14,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Download artifact from Build workflow - name: Download artifact from Build workflow
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
@@ -24,6 +27,14 @@ jobs:
run: sudo apt install libconfig-dev run: sudo apt install libconfig-dev
- name: Install LibELF - name: Install LibELF
run: sudo apt install libelf-dev run: sudo apt install libelf-dev
- name: Install LLVM
run: sudo apt install -y llvm
- name: Install LibXDP Depedencies
run: sudo apt install -y libpcap-dev m4 gcc-multilib linux-tools-$(uname -r)
- name: Build LibXDP.
run: make libxdp
- name: Install LibXDP.
run: sudo make libxdp_install
- name: List files - name: List files
run: ls -la run: ls -la
- name: Create /etc/xdpfw directory. - name: Create /etc/xdpfw directory.