forked from espressif/esp-mqtt
ci: Fix qemu build
This commit is contained in:
@ -46,7 +46,7 @@ build_idf_latest:
|
|||||||
|
|
||||||
build_and_test_qemu:
|
build_and_test_qemu:
|
||||||
stage: build
|
stage: build
|
||||||
image: ${CI_DOCKER_REGISTRY}/qemu-v5.0:2-20210826
|
image: ${CI_DOCKER_REGISTRY}/qemu-v5.1:1-20220802
|
||||||
tags:
|
tags:
|
||||||
- build
|
- build
|
||||||
- shiny
|
- shiny
|
||||||
@ -55,11 +55,11 @@ build_and_test_qemu:
|
|||||||
- export IDF_PATH=$CI_PROJECT_DIR/esp-idf
|
- export IDF_PATH=$CI_PROJECT_DIR/esp-idf
|
||||||
- git clone "${IDF_REPO}"
|
- git clone "${IDF_REPO}"
|
||||||
# switch to IDF and setup the tools
|
# switch to IDF and setup the tools
|
||||||
- $MQTT_PATH/ci/set_idf.sh release/v5.0
|
- $MQTT_PATH/ci/set_idf.sh master
|
||||||
- $IDF_PATH/tools/idf_tools.py install-python-env
|
- $IDF_PATH/tools/idf_tools.py install-python-env
|
||||||
- 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)"
|
||||||
# Remove `debug_backend` and Add `paho-mqtt` to the required packages
|
# Remove `debug_backend` and Add `paho-mqtt` to the required packages
|
||||||
- sed '/debug_backend/d' $IDF_PATH/tools/requirements/requirements.ttfw.txt > requirements.txt
|
- sed '/debug_backend/d;/pygobject/d' $IDF_PATH/tools/requirements/requirements.ttfw.txt > requirements.txt
|
||||||
- python -m pip install -r requirements.txt
|
- python -m pip install -r requirements.txt
|
||||||
- python -m pip install paho-mqtt
|
- python -m pip install paho-mqtt
|
||||||
- $MQTT_PATH/ci/set_mqtt.sh $CI_COMMIT_SHA
|
- $MQTT_PATH/ci/set_mqtt.sh $CI_COMMIT_SHA
|
||||||
|
Reference in New Issue
Block a user