Build logging sink tests #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Configure | |
| run: cmake -S . -B build | |
| - name: Build | |
| run: cmake --build build | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure | |
| arduino: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: arduino/setup-arduino-cli@v2 | |
| - name: Install AVR core | |
| run: | | |
| arduino-cli core update-index | |
| arduino-cli core install arduino:avr | |
| - name: Compile Arduino example for Mega | |
| run: | | |
| arduino-cli compile --fqbn arduino:avr:mega \ | |
| --libraries "$PWD" \ | |
| "$PWD/examples/arduino/SyslibLoggingExample" |