File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -52,23 +52,30 @@ jobs:
52
52
matrix :
53
53
idf_ver : ["latest"]
54
54
runs-on : ubuntu-22.04
55
+ environment : test
55
56
container : espressif/idf:${{ matrix.idf_ver }}
56
57
steps :
57
58
- name : Checkout esp-protocols
58
59
uses : actions/checkout@v4
59
60
- name : Build with IDF-${{ matrix.idf_ver }}
60
- env :
61
- MQTT_BROKER_URI : ${{ secrets.MQTT_BROKER_URI }}
62
61
shell : bash
63
62
run : |
64
63
. ${IDF_PATH}/export.sh
65
64
cat examples/mqtt/sdkconfig.defaults.linux
65
+ echo "MQTT_BROKER_URI=${MQTT_BROKER_URI1}"
66
66
echo "MQTT_BROKER_URI=${MQTT_BROKER_URI}"
67
+ echo "MQTT_BROKER_URI=$MQTT_BROKER_URI"
68
+ echo "MQTT_BROKER_URI=${{ env.MQTT_BROKER_URI }}"
69
+ echo "MQTT_BROKER_URI=${{ vars.MQTT_BROKER_URI }}"
70
+ echo "Environment variable TEST_VAR: ${{ vars.TEST_VAR }}"
67
71
./ci/replace.sh examples/mqtt/sdkconfig.defaults.linux
68
72
cat examples/mqtt/sdkconfig.defaults.linux
69
73
python -m pip install idf-build-apps
70
- python ./ci/build_apps.py examples/mqtt -l -t linux
71
- timeout 25 ./examples/mqtt/build_linux_default/esp_mqtt_demo.elf | tee test.log || true
74
+ # python ./ci/build_apps.py examples/mqtt -l -t linux
75
+ cd examples/mqtt
76
+ idf-build-apps build -vv -t linux --enable-preview-targets
77
+ cat build/config/sdkconfig.h | grep -i broker
78
+ timeout 25 ./examples/mqtt/build/esp_mqtt_demo.elf | tee test.log || true
72
79
grep 'MQTT_EVENT_DATA' test.log
73
80
74
81
run_on_target :
You can’t perform that action at this time.
0 commit comments