Skip to content

something?

something? #42

Workflow file for this run

name: Arduino CI with Arduino CLI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup folder structure
run: sudo mkdir /tmp/Hydronium && sudo mv ./* /tmp/Hydronium/ && sudo mv /tmp/Hydronium ./Hydronium && sudo chmod 777 ./Hydronium
- name: Print tree of folder structure
run: tree
- name: Install Arduino CLI
run: curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh
- name: List libraries to be installed
run: cat ./Hydronium/libraries.txt
- name: Install libraries
run: cat ./Hydronium/libraries.txt | xargs -L1 ./bin/arduino-cli lib install
- name: Update board index
run: mv ./Hydronium/arduino-cli.yaml ./ && ./bin/arduino-cli core update-index
- name: Install ESP32 2.0.1
run: ./bin/arduino-cli core install esp32:[email protected]
- name: Do compilation
run: ./bin/arduino-cli compile --fqbn esp32:esp32:firebeetle32 Hydronium