Skip to content

fofb_shaper_filt: add module. #167

fofb_shaper_filt: add module.

fofb_shaper_filt: add module. #167

Workflow file for this run

name: Build and run tests
on:
push:
branches:
- master
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
container:
image: ${{ matrix.distro.image }}
env:
LDFLAGS: ${{ matrix.linking.ldflags }}
CC: ${{ matrix.compiler.cc }}
CXX: ${{ matrix.compiler.cxx }}
strategy:
matrix:
distro:
- { image: "debian:12", update_cmd: "apt update", install_cmd: "apt install -y", packages: "libboost-dev" }
- { image: "alpine:3.18", update_cmd: "true", install_cmd: "apk add --no-cache", packages: "g++ musl-dev boost-dev" }
- { image: "alpine:edge", update_cmd: "true", install_cmd: "apk add --no-cache", packages: "g++ musl-dev boost-dev" }
compiler:
- { cc: gcc, cxx: g++ }
- { cc: clang, cxx: clang++ }
linking:
- { ldflags: "" }
- { ldflags: "-static" }
options:
- { pcie_opt: "true" }
- { pcie_opt: "false" }
steps:
- name: Install dependencies
run: ${{ matrix.distro.update_cmd }} && ${{ matrix.distro.install_cmd }} git meson ${{ matrix.distro.packages }} ${{ matrix.compiler.cc }}
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure
run: meson setup --werror -Dpcie_opt=${{ matrix.options.pcie_opt }} build || cat build/meson-logs/meson-log.txt /nonexistent
- name: Build
run: ninja -C build
- name: Run tests
run: ninja -C build test