Skip to content

CI: Add build test

CI: Add build test #3

Workflow file for this run

name: Build
on:
push:
branches: [master]
pull_request:
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
sudo apt update -y
sudo apt install --no-install-recommends gcc g++ make libgpiod-dev -y
- name: Build
run: |
dirs=$(find ${PWD} -name libgpiod-\* -type d -maxdepth 1 -mindepth 1)
for d in $dirs; do
cd $d
make
done