Skip to content

Commit 8a4f94f

Browse files
committed
Merge branch 'ci/shiny_pip_install' into 'master'
ci: optimize ci runner pip install Closes RDT-1299 See merge request espressif/esp-idf!38953
2 parents 6d2f4b3 + a624645 commit 8a4f94f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.gitlab/ci/common.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,13 @@ variables:
140140
if [[ -n "$IDF_DONT_USE_MIRRORS" ]]; then
141141
export IDF_MIRROR_PREFIX_MAP=
142142
fi
143+
# Optimize pip install
144+
if echo "${CI_RUNNER_TAGS}" | grep "shiny"; then
145+
export PIP_INDEX_URL="${PIP_INDEX_URL_SHINY}"
146+
fi
147+
if [[ "$(uname -m)" == "x86_64" ]] || [[ "$(uname -m)" == "aarch64" ]]; then
148+
export IDF_PIP_WHEELS_URL=""
149+
fi
143150

144151
if [[ "${CI_JOB_STAGE}" != "target_test" ]]; then
145152
section_start "running_install_sh" "Running install.sh"

0 commit comments

Comments
 (0)