This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- export PLATFORMIO_ESP32_PATH=" $HOME /.platformio/packages/framework-arduinoespressif32"
4-
53echo " Installing Python Wheel ..."
64pip install wheel > /dev/null 2>&1
75
86echo " Installing PlatformIO ..."
9- pip install -U https://github.com/platformio/platformio/archive/develop.zip > /dev/null 2>&1
10-
11- echo " Installing Platform ESP32 ..."
12- python -m platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage > /dev/null 2>&1
13-
14- echo " Replacing the framework version ..."
15- if [[ " $OSTYPE " == " darwin" * ]]; then
16- sed ' s/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' " $HOME /.platformio/platforms/espressif32/platform.json" > " platform.json"
17- mv -f " platform.json" " $HOME /.platformio/platforms/espressif32/platform.json"
18- else
19- sed -i ' s/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' " $HOME /.platformio/platforms/espressif32/platform.json"
20- fi
21-
22- if [ " $GITHUB_REPOSITORY " == " espressif/arduino-esp32" ]; then
23- echo " Linking Core ..."
24- ln -s $GITHUB_WORKSPACE " $PLATFORMIO_ESP32_PATH "
25- else
26- echo " Cloning Core Repository ..."
27- git clone https://github.com/espressif/arduino-esp32.git " $PLATFORMIO_ESP32_PATH " > /dev/null 2>&1
28- fi
29-
30- echo " PlatformIO for ESP32 has been installed"
7+ pip install -U platformio > /dev/null 2>&1
8+
9+ echo " PlatformIO has been installed"
3110echo " "
3211
3312
Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ if [ "$BUILD_PIO" -eq 0 ]; then
5151 build_sketches " $FQBN " " $GITHUB_WORKSPACE /examples" " $CHUNK_INDEX " " $CHUNKS_CNT "
5252else
5353 # PlatformIO Test
54- source ./.github/scripts/install-platformio-esp32.sh
54+ source ./.github/scripts/install-platformio.sh
55+
5556 python -m platformio lib --storage-dir " $GITHUB_WORKSPACE " install
5657 echo " Installing ArduinoJson ..."
5758 python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments