@@ -39,12 +39,31 @@ jobs:
39
39
uses : actions/setup-python@v5
40
40
with :
41
41
python-version : " 3.11"
42
- - name : Install dependencies
42
+ - name : Install Windows dependencies
43
43
run : |
44
44
python -m pip install --upgrade pip
45
45
pip install wheel
46
46
pip install -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.16.tar.gz
47
47
pio pkg install --global --platform symlink://.
48
- - name : Build examples
48
+ if : " matrix.os == 'windows-2022'"
49
+ env :
50
+ PLATFORMIO_CORE_DIR : C:\plat
51
+ PLATFORMIO_PACKAGES_DIR : C:\plat\pack
52
+ PLATFORMIO_PLATFORMS_DIR : C:\plat\plat
53
+ - name : Build Windows examples
54
+ run : pio run -d ${{ matrix.example }}
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 : Install Ubuntu Mac dependencies
49
61
run : |
50
- pio run -d ${{ matrix.example }}
62
+ python -m pip install --upgrade pip
63
+ pip install wheel
64
+ pip install -U https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.16.tar.gz
65
+ pio pkg install --global --platform symlink://.
66
+ if : " matrix.os != 'windows-2022'"
67
+ - name : Build Ubuntu Mac examples
68
+ run : pio run -d ${{ matrix.example }}
69
+ if : " matrix.os != 'windows-2022'"
0 commit comments