diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8a5d67..01c37bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Arduino Sketch [D1 mini, SBH-20] +name: Build Arduino Sketch [D1 mini, SBH-20 and SJB-HS] on: [push, pull_request] @@ -7,12 +7,17 @@ jobs: strategy: matrix: arduino-platform: [ "esp8266:esp8266@2.7.4" ] + model: [ "SB-H20", "SJB-HS" ] include: - arduino-platform: "esp8266:esp8266@2.7.4" 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