mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-30 10:48:06 +02:00
CI: Temporariy update QEMU image with python 3.7.0
This will be removed once we updated QEMU image, based on the new CI environment docker image.
This commit is contained in:
@ -104,14 +104,16 @@ build_and_test_qemu:
|
|||||||
- shiny
|
- shiny
|
||||||
dependencies: []
|
dependencies: []
|
||||||
variables:
|
variables:
|
||||||
PYTHON_VER: 3.6.13
|
PYTHON_VER: 3.7.0
|
||||||
script:
|
script:
|
||||||
- cit_add_ssh_key "${GITLAB_KEY}"
|
- cit_add_ssh_key "${GITLAB_KEY}"
|
||||||
- git clone "${IDF_REPO}"
|
- git clone "${IDF_REPO}"
|
||||||
# switch to IDF and setup the right tools
|
# switch to IDF and setup the right tools
|
||||||
- $MQTT_PATH/ci/set_idf.sh master
|
- $MQTT_PATH/ci/set_idf.sh master
|
||||||
- source /opt/pyenv/activate && pyenv global $PYTHON_VER
|
- source /opt/pyenv/activate && pyenv install $PYTHON_VER && pyenv global $PYTHON_VER
|
||||||
- cd $IDF_PATH && tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)"
|
- cd $IDF_PATH && tools/idf_tools.py --non-interactive install && eval "$(tools/idf_tools.py --non-interactive export)"
|
||||||
|
- ./install.sh && source export.sh
|
||||||
|
- python -m pip install -r $IDF_PATH/tools/ci/python_packages/ttfw_idf/requirements.txt && python -m pip install paho-mqtt
|
||||||
- $MQTT_PATH/ci/set_mqtt.sh $CI_COMMIT_SHA
|
- $MQTT_PATH/ci/set_mqtt.sh $CI_COMMIT_SHA
|
||||||
# build publish-connect stress test, setup test parameters
|
# build publish-connect stress test, setup test parameters
|
||||||
- cd tools/test_apps/protocols/mqtt/publish_connect_test && cat sdkconfig.qemu | $IDF_PATH/tools/ci/envsubst.py > sdkconfig.defaults && idf.py build
|
- cd tools/test_apps/protocols/mqtt/publish_connect_test && cat sdkconfig.qemu | $IDF_PATH/tools/ci/envsubst.py > sdkconfig.defaults && idf.py build
|
||||||
|
Reference in New Issue
Block a user