Skip to content

route: hsr: API for Entry Forget Time #69

route: hsr: API for Entry Forget Time

route: hsr: API for Entry Forget Time #69

Workflow file for this run

name: libnl3-ci
on:
push:
pull_request:
jobs:
ci:
strategy:
matrix:
include:
- cc: gcc
- cc: clang
runs-on: ubuntu-latest
steps:
- name: Install packages
run: |
sudo apt-get update
sudo apt-get -y install check valgrind libtool-bin
- name: Check out repository code
uses: actions/checkout@v2
- name: Build
run: |
set -x
export CC="${{ matrix.cc }}"
CFLAGS="-DNL_MORE_ASSERTS=1000 -O2 -Werror -Wall -Wdeclaration-after-statement -Wvla -std=gnu11"
if [ "$CC" = "clang" ]; then
CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument -Wno-error=unused-function"
fi
export CFLAGS
./autogen.sh
./configure
make -j 5
shell: bash
- name: Build Unit Tests
run: make -j 5 check-progs
- name: Run Unit Tests
run: make -j 5 check
- name: Run Unit Tests w/Valgrind
run: |
set -x
CK_FORK=no libtool --mode=execute valgrind --error-exitcode=66 --leak-check=full -s --show-leak-kinds=all ./tests/check-all
CK_FORK=no libtool --mode=execute valgrind --error-exitcode=66 --leak-check=full -s --show-leak-kinds=all ./tests/check-direct
shell: bash
- run: echo "🍏 This job's status is ${{ job.status }}."