vjardin basic compilation test ⚗️ #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |