@@ -44,12 +44,31 @@ jobs:
4444 uses : actions/setup-python@v5
4545 with :
4646 python-version : " 3.11"
47- - name : Install dependencies
47+ - name : Install Windows dependencies
4848 run : |
4949 python -m pip install --upgrade pip
5050 pip install wheel
5151 pip install -U https://github.com/platformio/platformio/archive/develop.zip
5252 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
5466 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