@@ -46,24 +46,25 @@ jobs:
46
46
with :
47
47
python-version : " 3.11"
48
48
- name : Install Windows dependencies
49
+ if : " matrix.os == 'windows-2022'"
49
50
run : |
50
51
python -m pip install --upgrade pip
51
52
pip install wheel
52
53
pip install -U https://github.com/platformio/platformio/archive/develop.zip
53
54
pio pkg install --global --platform file://.
54
- if : " matrix.os == 'windows-2022'"
55
55
env :
56
56
PLATFORMIO_CORE_DIR : C:\plat
57
57
PLATFORMIO_PACKAGES_DIR : C:\plat\pack
58
58
PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
59
59
- name : Build Windows examples
60
- run : pio run -d ${{ matrix.example }}
61
60
if : " matrix.example != 'examples/tasmota' && matrix.os == 'windows-2022'"
61
+ run : pio run -d ${{ matrix.example }}
62
62
env :
63
63
PLATFORMIO_CORE_DIR : C:\plat
64
64
PLATFORMIO_PACKAGES_DIR : C:\plat\pack
65
65
PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
66
66
- name : Install Ubuntu Mac dependencies
67
+ if : " matrix.os != 'windows-2022'"
67
68
run : |
68
69
python -m pip install --upgrade pip
69
70
pip install wheel
75
76
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
76
77
cp examples/tasmota_platformio_override.ini examples/tasmota/platformio_override.ini
77
78
- name : Build Ubuntu Mac examples
78
- if : " matrix.example != 'examples/tasmota' || matrix. os != 'windows-2022'"
79
+ if : " matrix.os != 'windows-2022'"
79
80
run : |
80
81
pio run -d ${{ matrix.example }}
81
82
0 commit comments