Files
XDP-Firewall/.github/workflows/build.yml
Christian Deacon c7745d2a30 Attempt to make Build workflow reusable.
I'm new to GitHub actions/workflows!
2021-12-06 01:06:21 -06:00

28 lines
525 B
YAML

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
- name: install libelf
run: sudo apt install -y libelf-dev
- name: install libconfig
run: sudo apt install -y libconfig-dev
- name: install llvm
run: sudo apt install -y llvm
- name: make
run: make
- name: install
run: sudo make install