Skip to content

Commit 0305320

Browse files
authored
add example tasmota again
1 parent 821c188 commit 0305320

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/examples.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- "examples/arduino-wifiscan"
2121
- "examples/arduino-zigbee-light"
2222
- "examples/arduino-zigbee-switch"
23+
- "examples/tasmota"
2324
- "examples/espidf-arduino-h2zero-BLE_scan"
2425
- "examples/espidf-arduino-matter-light"
2526
- "examples/espidf-arduino-blink"
@@ -57,7 +58,7 @@ jobs:
5758
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
5859
- name: Build Windows examples
5960
run: pio run -d ${{ matrix.example }}
60-
if: "matrix.os == 'windows-2022'"
61+
if: "matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
6162
env:
6263
PLATFORMIO_CORE_DIR: C:\plat
6364
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
@@ -69,6 +70,11 @@ jobs:
6970
pip install -U https://github.com/platformio/platformio/archive/develop.zip
7071
pio pkg install --global --platform file://.
7172
if: "matrix.os != 'windows-2022'"
73+
- name: git clone Tasmota and add to examples
74+
run: |
75+
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
76+
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
77+
if: "matrix.example == 'examples/tasmota' && matrix.os != 'windows-2022'"
7278
- name: Build Ubuntu Mac examples
7379
run: pio run -d ${{ matrix.example }}
7480
if: "matrix.os != 'windows-2022'"

0 commit comments

Comments
 (0)