Skip to content

Non strict

Non strict #27

name: Build Linux Example Apps
on:
workflow_dispatch:
push:
paths:
- src/**
- examples/linux/**
- .github/workflows/build_linux_examples.yml
jobs:
build-examples:
runs-on: ubuntu-22.04
strategy:
matrix:
example:
- sniffer
- remote
- receiver
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libgpiod
run: sudo apt-get install -y libgpiod-dev
- name: Build example
run: |
cd examples/linux/${{ matrix.example}}
cmake -S . -B build -DCMAKE_C_FLAGS="-DOPENRTS_BOARD_RASPBERRY_PI_RFM69_BONNET"
cmake --build build --target ${{ matrix.example }}