improved reliablity of setting desired water temperatur #14
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 Sketch [D1 mini, SBH-20 and SJB-HS] | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
arduino-platform: [ "esp8266:[email protected]" ] | |
model: [ "SB-H20", "SJB-HS" ] | |
include: | |
- arduino-platform: "esp8266:[email protected]" | |
fqbn: "esp8266:esp8266:d1_mini:xtal=160,vt=iram,exception=enabled,ssl=basic,eesz=4M1M,ip=lm2f,dbg=Disabled,lvl=None____" | |
sketch: "esp8266-intexsbh20.ino" | |
install-options: "--additional-urls \"http://arduino.esp8266.com/stable/package_esp8266com_index.json\"" | |
- model: "SB-H20" | |
compiler-options: "--warnings more --build-property compiler.cpp.extra_flags=\"-D MODEL_SB_H20\"" | |
- model: "SJB-HS" | |
compiler-options: "--warnings more --build-property compiler.cpp.extra_flags=\"-D MODEL_SJB_HS\"" | |
max-parallel: 2 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Setup Arduino CLI | |
uses: arduino/setup-arduino-cli@v1 | |
- name: Install Platform | |
run: | | |
arduino-cli core update-index ${{ matrix.install-options }} | |
arduino-cli core install ${{ matrix.arduino-platform }} ${{ matrix.install-options }} | |
arduino-cli lib install [email protected] | |
arduino-cli lib install [email protected] | |
- name: Compile Sketch | |
run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./${{ matrix.sketch }} ${{ matrix.compiler-options }} | |
runs-on: ubuntu-latest |