Skip to content

Commit

Permalink
[esp8266]
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball authored Apr 24, 2024
1 parent ede27ef commit a556ea2
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/compile_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ jobs:
build-esp8266:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[esp8266]')

strategy:
fail-fast: false

matrix:
board:
- fqbn: esp8266:esp8266:nodemcu
- fqbn: esp8266:esp8266:d1_mini

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@v1

- name: Config additional Boards for ESP8266 platform
run: |
arduino-cli config add board_manager.additional_urls http://arduino.esp8266.com/stable/package_esp8266com_index.json
uses: actions/checkout@v4

- name: List ESP8266 Boards
run: |
arduino-cli core search esp8266
- name: Install ESP8266 platform
run: |
arduino-cli core install esp8266:esp8266
- name: Compile code
run: |
arduino-cli compile --fqbn esp8266:esp8266:d1_mini ./examples/Wemos_D1_mini_AM2302_Sensor_Array_Example/Wemos_D1_mini_AM2302_Sensor_Array_Example.ino
- name: Compile ESP8266 examples
uses: arduino/compile-sketches@v1
with:
platforms: |
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
version: ${{ matrix.core.version }}
fqbn: ${{ matrix.board.fqbn }}
sketch-paths: ./examples/Wemos_D1_mini_AM2302_Sensor_Array_Example/Wemos_D1_mini_AM2302_Sensor_Array_Example.ino

0 comments on commit a556ea2

Please sign in to comment.