chore: Update Arduino library dependencies and remove unused code #6
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: Build Arduino Examples | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install Arduino CLI | |
uses: arduino/setup-arduino-cli@v2 | |
- name: Install Arduino Cores | |
run: | | |
arduino-cli config init | |
arduino-cli core update-index | |
arduino-cli core install arduino:avr | |
arduino-cli core install esp32:esp32 | |
- name: Install libs | |
run: | | |
arduino-cli lib install "GovoroxSSLClient" | |
arduino-cli lib install "WiFi" | |
arduino-cli lib install "ArduinoHttpClient" | |
arduino-cli lib install "PubSubClient" | |
arduino-cli lib install "TinyGSM" | |
- name: Compile Examples | |
run: | | |
./.github/workflows/scripts/compile_arduino_examples.sh --clean |