forked from espressif/esp-idf
ci: pip install idf-component-manager inside CI
This commit is contained in:
@@ -121,6 +121,20 @@ before_script:
|
|||||||
- export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages:$PYTHONPATH"
|
- export PYTHONPATH="$IDF_PATH/tools:$IDF_PATH/tools/ci/python_packages:$PYTHONPATH"
|
||||||
- fetch_submodules
|
- fetch_submodules
|
||||||
|
|
||||||
|
# this is a workaround since CI on 4.3 is using python 3.4 and the real support version is 3.6
|
||||||
|
# Can't find package versions that match both of them at the same time.
|
||||||
|
# install the idf-component-manager here instead of in the dockerfile with a fixed version
|
||||||
|
.before_script_build_cmake:
|
||||||
|
before_script:
|
||||||
|
- source tools/ci/utils.sh
|
||||||
|
- source tools/ci/setup_python.sh
|
||||||
|
- apply_bot_filter
|
||||||
|
- add_gitlab_ssh_keys
|
||||||
|
- source tools/ci/configure_ci_environment.sh
|
||||||
|
- *setup_tools_unless_target_test
|
||||||
|
- fetch_submodules
|
||||||
|
- pip install "idf-component-manager~=1.1"
|
||||||
|
|
||||||
default:
|
default:
|
||||||
retry:
|
retry:
|
||||||
max: 2
|
max: 2
|
||||||
|
@@ -191,7 +191,9 @@ build_examples_make:
|
|||||||
|
|
||||||
# same as above, but for CMake
|
# same as above, but for CMake
|
||||||
.build_examples_cmake:
|
.build_examples_cmake:
|
||||||
extends: .build_examples_template
|
extends:
|
||||||
|
- .build_examples_template
|
||||||
|
- .before_script_build_cmake
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build_${TEST_PREFIX}/list.json
|
- build_${TEST_PREFIX}/list.json
|
||||||
|
Reference in New Issue
Block a user