CI: install pioarduino's PlatformIO core fork (upstream core lacks FortranCommon with the pinned SCons on the ESP-IDF build path)
Firmware / build (push) Successful in 7m4s
Firmware / build (push) Successful in 7m4s
This commit is contained in:
@@ -83,13 +83,21 @@ jobs:
|
||||
.pio/libdeps
|
||||
key: pio-${{ hashFiles('platformio.ini') }}
|
||||
|
||||
- name: Install PlatformIO
|
||||
# pioarduino's fork of the PlatformIO core, NOT upstream: the platform pins
|
||||
# its own SCons 4.8.1 without the Fortran tools, and since the core rebuild
|
||||
# (custom_sdkconfig, v0.1.7) the ESP-IDF build path is exercised, where the
|
||||
# upstream core imports SCons.Tool.FortranCommon and dies
|
||||
# ("ModuleNotFoundError: No module named 'SCons.Tool.FortranCommon'",
|
||||
# first seen on the v0.1.7 tag build). The pin mirrors
|
||||
# platform-espressif32/builder/penv_setup.py :: python_deps["platformio"].
|
||||
- name: Install PlatformIO (pioarduino core)
|
||||
if: env.SKIP != 'true'
|
||||
run: |
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
uv tool install platformio
|
||||
uv tool install "https://github.com/pioarduino/platformio-core/archive/refs/tags/v6.1.18.zip"
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
pio --version
|
||||
|
||||
- name: Build
|
||||
if: env.SKIP != 'true'
|
||||
|
||||
Reference in New Issue
Block a user