build: fix tests again #3
This file contains 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: Try to compile example | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
test-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get install curl | |
- run: mkdir arduino-cli | |
- run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=./arduino-cli sh | |
- run: ./arduino-cli/arduino-cli core install arduino:avr | |
- run: ./arduino-cli/arduino-cli compile --verbose --build-path ./examples/TemperatureController/build --library . -b arduino:avr:nano ./examples/TemperatureController/*.ino |