1
- name : Examples
1
+ name : CI Examples
2
2
3
3
on :
4
4
workflow_dispatch : # Manually start a workflow
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
15
- os : [ubuntu-22 .04, windows-2022, macos-14 ]
15
+ os : [ubuntu-24 .04, windows-2022, macos-15 ]
16
16
example :
17
17
- " examples/arduino-blink"
18
18
- " examples/arduino-rmt-blink"
22
22
- " examples/arduino-zigbee-switch"
23
23
- " examples/tasmota"
24
24
- " examples/espidf-arduino-h2zero-BLE_scan"
25
- - " examples/espidf-arduino-matter-light"
25
+ # - "examples/espidf-arduino-matter-light"
26
26
- " examples/arduino-matter-light"
27
27
- " examples/espidf-arduino-blink"
28
28
- " examples/espidf-arduino-littlefs"
@@ -45,37 +45,16 @@ jobs:
45
45
- name : Set up Python
46
46
uses : actions/setup-python@v5
47
47
with :
48
- python-version : " 3.11 "
49
- - name : Install Windows dependencies
48
+ python-version : " 3.13 "
49
+ - name : Install dependencies
50
50
run : |
51
51
python -m pip install --upgrade pip
52
52
pip install wheel
53
- pip install -U https://github.com/platformio /platformio/archive/develop .zip
53
+ pip install -U https://github.com/pioarduino /platformio-core /archive/refs/tags/v6.1.17b2 .zip
54
54
pio pkg install --global --platform file://.
55
- if : " matrix.os == 'windows-2022'"
56
- env :
57
- PLATFORMIO_CORE_DIR : C:\plat
58
- PLATFORMIO_PACKAGES_DIR : C:\plat\pack
59
- PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
60
- - name : Build Windows examples
61
- run : pio run -d ${{ matrix.example }}
62
- if : " matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
63
- env :
64
- PLATFORMIO_CORE_DIR : C:\plat
65
- PLATFORMIO_PACKAGES_DIR : C:\plat\pack
66
- PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
67
- - name : Install Ubuntu Mac dependencies
68
- run : |
69
- python -m pip install --upgrade pip
70
- pip install wheel
71
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
72
- pio pkg install --global --platform file://.
73
- if : " matrix.os != 'windows-2022'"
74
55
- name : git clone Tasmota and add to examples
75
56
run : |
76
57
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
77
58
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
78
- if : " matrix.example == 'examples/tasmota' && matrix.os != 'windows-2022'"
79
- - name : Build Ubuntu Mac examples
59
+ - name : Build examples
80
60
run : pio run -d ${{ matrix.example }}
81
- if : " matrix.os != 'windows-2022'"
0 commit comments