@@ -44,12 +44,31 @@ jobs:
44
44
uses : actions/setup-python@v5
45
45
with :
46
46
python-version : " 3.11"
47
- - name : Install dependencies
47
+ - name : Install Windows dependencies
48
48
run : |
49
49
python -m pip install --upgrade pip
50
50
pip install wheel
51
51
pip install -U https://github.com/platformio/platformio/archive/develop.zip
52
52
pio pkg install --global --platform symlink://.
53
- - name : Build examples
53
+ if : " matrix.os == 'windows-2022'"
54
+ env :
55
+ PLATFORMIO_CORE_DIR : C:\plat
56
+ PLATFORMIO_PACKAGES_DIR : C:\plat\pack
57
+ PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
58
+ - name : Build Windows examples
59
+ run : pio run -d ${{ matrix.example }}
60
+ if : " matrix.os == 'windows-2022'"
61
+ env :
62
+ PLATFORMIO_CORE_DIR : C:\plat
63
+ PLATFORMIO_PACKAGES_DIR : C:\plat\pack
64
+ PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
65
+ - name : Install Ubuntu Mac dependencies
54
66
run : |
55
- pio run -d ${{ matrix.example }}
67
+ python -m pip install --upgrade pip
68
+ pip install wheel
69
+ pip install -U https://github.com/platformio/platformio/archive/develop.zip
70
+ pio pkg install --global --platform symlink://.
71
+ if : " matrix.os != 'windows-2022'"
72
+ - name : Build Ubuntu Mac examples
73
+ run : pio run -d ${{ matrix.example }}
74
+ if : " matrix.os != 'windows-2022'"
0 commit comments