Skip to content

Commit 554f473

Browse files
committed
fix(ci): patch ESP-IDF v6.1 constraints to unblock idf-ci resolution
1 parent 14991e0 commit 554f473

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build_and_run_apps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ jobs:
8989
shell: bash
9090
run: |
9191
export IDF_PYTHON_CHECK_CONSTRAINTS=yes
92+
if [ -f /opt/esp/espidf.constraints.v6.1.txt ]; then
93+
sed -i '/^idf-ci>=1\.0\.0,<2\.0$/d' /opt/esp/espidf.constraints.v6.1.txt
94+
fi
9295
${IDF_PATH}/install.sh --enable-ci
9396
. ${IDF_PATH}/export.sh
9497
pip install --upgrade 'idf-build-apps~=2.12'
@@ -141,6 +144,9 @@ jobs:
141144
shell: bash
142145
run: |
143146
export IDF_PYTHON_CHECK_CONSTRAINTS=yes
147+
if [ -f /opt/esp/espidf.constraints.v6.1.txt ]; then
148+
sed -i '/^idf-ci>=1\.0\.0,<2\.0$/d' /opt/esp/espidf.constraints.v6.1.txt
149+
fi
144150
${IDF_PATH}/install.sh --enable-ci
145151
. ${IDF_PATH}/export.sh
146152
pip install --upgrade 'idf-build-apps~=2.12'

0 commit comments

Comments
 (0)