Skip to content

Commit 6b67dee

Browse files
authored
switch off Tasmota example
Tasmota needs a change to compile with pioarduino
1 parent ed237b2 commit 6b67dee

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/examples.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI Examples
1+
name: Examples
22

33
on:
44
workflow_dispatch: # Manually start a workflow
@@ -20,7 +20,6 @@ jobs:
2020
- "examples/arduino-wifiscan"
2121
- "examples/arduino-zigbee-light"
2222
- "examples/arduino-zigbee-switch"
23-
- "examples/tasmota"
2423
- "examples/espidf-arduino-h2zero-BLE_scan"
2524
- "examples/espidf-arduino-matter-light"
2625
- "examples/espidf-arduino-blink"
@@ -46,37 +45,30 @@ jobs:
4645
with:
4746
python-version: "3.11"
4847
- name: Install Windows dependencies
49-
if: "matrix.os == 'windows-2022'"
5048
run: |
5149
python -m pip install --upgrade pip
5250
pip install wheel
5351
pip install -U https://github.com/platformio/platformio/archive/develop.zip
5452
pio pkg install --global --platform file://.
53+
if: "matrix.os == 'windows-2022'"
5554
env:
5655
PLATFORMIO_CORE_DIR: C:\plat
5756
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
5857
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
5958
- name: Build Windows examples
60-
if: "matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
6159
run: pio run -d ${{ matrix.example }}
60+
if: "matrix.os == 'windows-2022'"
6261
env:
6362
PLATFORMIO_CORE_DIR: C:\plat
6463
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
6564
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
6665
- name: Install Ubuntu Mac dependencies
67-
if: "matrix.os != 'windows-2022'"
6866
run: |
6967
python -m pip install --upgrade pip
7068
pip install wheel
7169
pip install -U https://github.com/platformio/platformio/archive/develop.zip
7270
pio pkg install --global --platform file://.
73-
- name: git clone Tasmota and add to examples
74-
if: "matrix.example == 'examples/tasmota' && matrix.os != 'windows-2022'"
75-
run: |
76-
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
77-
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
71+
if: "matrix.os != 'windows-2022'"
7872
- name: Build Ubuntu Mac examples
73+
run: pio run -d ${{ matrix.example }}
7974
if: "matrix.os != 'windows-2022'"
80-
run: |
81-
pio run -d ${{ matrix.example }}
82-

0 commit comments

Comments
 (0)