Skip to content

Commit d06f836

Browse files
authored
Update examples.yml
1 parent 00cefab commit d06f836

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/examples.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
- "examples/arduino-rmt-blink"
1919
- "examples/arduino-usb-keyboard"
2020
- "examples/arduino-wifiscan"
21+
- "examples/arduino-zigbee-light"
22+
- "examples/arduino-zigbee-switch"
23+
- "examples/tasmota"
24+
- "examples/espidf-arduino-h2zero-BLE_scan"
25+
- "examples/espidf-arduino-matter-light"
2126
- "examples/espidf-arduino-blink"
2227
- "examples/espidf-arduino-littlefs"
2328
- "examples/espidf-blink"
@@ -30,6 +35,7 @@ jobs:
3035
- "examples/espidf-storage-sdcard"
3136
- "examples/espidf-ulp"
3237
- "examples/espidf-ulp-riscv"
38+
- "examples/espidf-ulp-lp"
3339
runs-on: ${{ matrix.os }}
3440
steps:
3541
- uses: actions/checkout@v4
@@ -44,15 +50,15 @@ jobs:
4450
python -m pip install --upgrade pip
4551
pip install wheel
4652
pip install -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.16.tar.gz
47-
pio pkg install --global --platform symlink://.
53+
pio pkg install --global --platform file://.
4854
if: "matrix.os == 'windows-2022'"
4955
env:
5056
PLATFORMIO_CORE_DIR: C:\plat
5157
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
5258
PLATFORMIO_PLATFORMS_DIR: C:\plat\plat
5359
- name: Build Windows examples
5460
run: pio run -d ${{ matrix.example }}
55-
if: "matrix.os == 'windows-2022'"
61+
if: "matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
5662
env:
5763
PLATFORMIO_CORE_DIR: C:\plat
5864
PLATFORMIO_PACKAGES_DIR: C:\plat\pack
@@ -62,8 +68,13 @@ jobs:
6268
python -m pip install --upgrade pip
6369
pip install wheel
6470
pip install -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.16.tar.gz
65-
pio pkg install --global --platform symlink://.
71+
pio pkg install --global --platform file://.
6672
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'"
6778
- name: Build Ubuntu Mac examples
6879
run: pio run -d ${{ matrix.example }}
6980
if: "matrix.os != 'windows-2022'"

0 commit comments

Comments
 (0)