Skip to content

vjardin basic compilation test ⚗️ #25

vjardin basic compilation test ⚗️

vjardin basic compilation test ⚗️ #25

Workflow file for this run

name: basic compilation test
run-name: ${{ github.actor }} basic compilation test ⚗️
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ gcc, clang ]
steps:
- name: add missing packages
uses: ConorMacBride/install-package@v1
with:
apt: libelf-dev
- name: recursive checkout (with libbpf submodule)
uses: actions/checkout@v4
with:
submodules: true
- name: make
run : CC=${{ matrix.compiler }} make -j $(nproc)
- name: basic run
run : bin/gtp-guard --version