Skip to content

mvls: Bind to all devlink devices matching mv88e6* #61

mvls: Bind to all devlink devices matching mv88e6*

mvls: Bind to all devlink devices matching mv88e6* #61

Workflow file for this run

name: Bob the Builder
# Run on all branches, including all pull requests, except the 'dev'
# branch since that's where we run Coverity Scan (limited tokens/day)
on:
push:
branches:
- '**'
- '!dev'
pull_request:
branches:
- '**'
jobs:
build:
# Verify we can build on latest Ubuntu with both gcc and clang
name: ${{ matrix.compiler }}
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
fail-fast: false
env:
MAKEFLAGS: -j3
CC: ${{ matrix.compiler }}
steps:
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install pkg-config libmnl-dev tree
- uses: actions/checkout@v2
- name: Configure
# Build in a sub-directory so we can safely set a+w on all
# directories. Needed for `make check` since it runs with
# root dropped and wants to write .trs and .log files.
run: |
./autogen.sh
./configure -prefix=
- name: Build
run: |
make
- name: Install
run: |
DESTDIR=~/tmp make install-strip
tree ~/tmp
ldd ~/tmp/sbin/mvls
size ~/tmp/sbin/mvls
ldd ~/tmp/sbin/mdio
size ~/tmp/sbin/mdio
~/tmp/sbin/mvls -h
~/tmp/sbin/mdio -h