Overview
Hi, I have a weird behaivor with one workflow on Github using PlatformIO.
I have the next error:
Output:
Processing esp32s3-receiver (platform: espressif32; board: esp32-s3-devkitc-1; framework: arduino)
--------------------------------------------------------------------------------
Tool Manager: Installing espressif/toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch3
Downloading 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Tool Manager: toolchain-xtensa-esp32s3@8.4.0+2021r2-patch3 has been installed!
Tool Manager: Installing espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3
UnknownPackageError: Could not find the package with 'espressif/toolchain-riscv32-esp @ 8.4.0+2021r2-patch3' requirements for your system 'linux_x86_64'
Error: Process completed with exit code 1.
PlatformIO env that is failing:
[esp32s3_common]
extends = common
platform = espressif32
board = esp32-s3-devkitc-1
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
build_flags =
${env.build_flags}
-D ARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
[env:esp32s3-receiver]
extends = esp32s3_common
build_src_filter = -<*> +<basic-receiver/>
workflow config:
name: PlatformIO
on:
push:
branches:
- master
paths-ignore:
- '**/README.md'
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
pio pkg update
- name: Architecture tests
run: |
pio run
In my local environment works fine, but it download a different package:
PACKAGES:
- framework-arduinoespressif32 @ 3.20011.230801 (2.0.11)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
In other repository I have a similar workflow also with an ESP32S3 env, and it works fine.
Some links:
workflow fail
plaformio.ini (please uncomment these lines)