Skip to content

adaraiseh basic compilation and test ⚗️ #4

adaraiseh basic compilation and test ⚗️

adaraiseh basic compilation and test ⚗️ #4

name: Yang iproute2 CI
run-name: ${{ github.actor }} basic compilation and test ⚗️
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build-yp-sr:
name: Build iproute2-sysrepo
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [ gcc, clang ]
steps:
- name: add missing packages
uses: ConorMacBride/install-package@v1
with:
apt: libelf-dev libbpf-dev libbsd-dev libsysrepo-dev libcap-dev libmnl-dev libselinux-dev
- name: recursive checkout (with iproute2 submodule)
uses: actions/checkout@v4
with:
submodules: true
- name: make iproute2-sysrepo
run : CC=${{ matrix.compiler }} make -j $(nproc)
- name: basic compilation check
run : ldd bin/iproute2-sysrepo
- name: basic test ip address like
run : bin/iproute2-sysrepo