Skip to content

Commit 401c7ea

Browse files
authored
Windows shouldnt need anymore special env setup
1 parent 2dfa189 commit 401c7ea

File tree

1 file changed

+7
-28
lines changed

1 file changed

+7
-28
lines changed

.github/workflows/examples.yml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Examples
1+
name: CI Examples
22

33
on:
44
workflow_dispatch: # Manually start a workflow
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-22.04, windows-2022, macos-14]
15+
os: [ubuntu-24.04, windows-2022, macos-15]
1616
example:
1717
- "examples/arduino-blink"
1818
- "examples/arduino-rmt-blink"
@@ -22,7 +22,7 @@ jobs:
2222
- "examples/arduino-zigbee-switch"
2323
- "examples/tasmota"
2424
- "examples/espidf-arduino-h2zero-BLE_scan"
25-
- "examples/espidf-arduino-matter-light"
25+
#- "examples/espidf-arduino-matter-light"
2626
- "examples/arduino-matter-light"
2727
- "examples/espidf-arduino-blink"
2828
- "examples/espidf-arduino-littlefs"
@@ -45,37 +45,16 @@ jobs:
4545
- name: Set up Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: "3.11"
49-
- name: Install Windows dependencies
48+
python-version: "3.13"
49+
- name: Install dependencies
5050
run: |
5151
python -m pip install --upgrade pip
5252
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
5454
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'"
7455
- name: git clone Tasmota and add to examples
7556
run: |
7657
git clone -b development --depth 1 https://github.com/arendst/Tasmota.git examples/tasmota
7758
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
8060
run: pio run -d ${{ matrix.example }}
81-
if: "matrix.os != 'windows-2022'"

0 commit comments

Comments
 (0)