This repository demonstrates how to run basic DPDK applications in Github Actions with a custom Docker Container. For the container we use a third-party container registry (in this case Docker Hub). Building the container as part of the Github Actions pipeline is also possible.
docker build -t olivermichel/dpdk-ci .
docker run -itv $(pwd):/root/dpdk-ci olivermichel/dpdk-ci /bin/bash
mkdir build && cd build
RTE_SDK=/usr/src/dpdk-19.11 cmake ..
./init --no-huge --vdev 'net_pcap0,rx_pcap=../test.pcap'
./rx --no-huge --vdev 'net_pcap0,rx_pcap=../test.pcap'
docker push olivermichel/dpdk-ci:latest