Skip to content

Revamp Makefile and build process. #14

Revamp Makefile and build process.

Revamp Makefile and build process. #14

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# The following action also runs `sudo apt update` so we don't have to run that later on.
- name: Deploy the DPDK (default)
uses: gamemann/DPDK-Deploy-Action@v1.5
- name: Install LibYAML dependencies
run: sudo apt install -y autoconf libtool
- name: Build Common LibYAML
run: sudo make -C modules/common libyaml
- name: Build Common Main
run: make -C modules/common
- name: Install Common
run: sudo make -C modules/common install
- name: Build the DPDK Common
run: make dpdk_common
- name: Build main
run: make
- name: Install main
run: sudo make install
- name: Store build artifacts
uses: actions/upload-artifact@master
with:
name: build-output
path: build/pcktbatch