fix(ci): source IDF export.sh before pip install in container

espressif/idf:v5.4 container doesn't have pip/pip3 on PATH — it
lives inside the IDF Python venv which is only activated after
sourcing $IDF_PATH/export.sh.

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv 2026-03-15 10:28:54 -04:00
parent 0fb5a58a1a
commit 9f595ed26b
1 changed files with 6 additions and 2 deletions

View File

@ -114,7 +114,9 @@ jobs:
run: /opt/qemu-esp32/bin/qemu-system-xtensa --version
- name: Install Python dependencies
run: pip3 install esptool esp-idf-nvs-partition-gen
run: |
. $IDF_PATH/export.sh
pip install esptool esp-idf-nvs-partition-gen
- name: Set target ESP32-S3
working-directory: firmware/esp32-csi-node
@ -324,7 +326,9 @@ jobs:
run: chmod +x /opt/qemu-esp32/bin/qemu-system-xtensa
- name: Install Python dependencies
run: pip3 install pyyaml esptool esp-idf-nvs-partition-gen
run: |
. $IDF_PATH/export.sh
pip install pyyaml esptool esp-idf-nvs-partition-gen
- name: Build firmware for swarm
working-directory: firmware/esp32-csi-node