@@ -18,7 +18,7 @@ variables:
1818# Define a matrix for IDF versions and their corresponding targets
1919.options_list :
2020# versions:
21- # IDF_VER: ["latest", "v5.3 ", "v5.2 ", "v5.0 "]
21+ # IDF_VER: ["latest", "v5.5 ", "v5.3 ", "v5.1 "]
2222 analyzers :
2323 ANALYZER_TYPE : [gcc, clang]
2424 markers :
@@ -60,7 +60,7 @@ after_script:
6060.before_script_build_jobs :
6161 before_script :
6262 - pip install idf-component-manager --upgrade
63- - pip install "idf_build_apps~=1.0.1"
63+ - pip install "idf_build_apps" --upgrade
6464
6565.check_idf_ver : &check_idf_ver |
6666 export IDF_PATH=$(find /opt -type d -name "*idf*" \
@@ -179,25 +179,25 @@ build_idf_latest:
179179 extends : .build_pytest_template
180180 image : espressif/idf:latest
181181 variables :
182- TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c6 esp32h2"
182+ TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c6 esp32h2 esp32p4 "
183183
184- build_idf_v5.3 :
184+ build_idf_v5.5 :
185185 extends : .build_pytest_template
186- image : espressif/idf:release-v5.3
186+ image : espressif/idf:release-v5.5
187187 variables :
188- TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2"
188+ TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4 "
189189
190- build_idf_v5.2 :
190+ build_idf_v5.3 :
191191 extends : .build_pytest_template
192- image : espressif/idf:release-v5.2
192+ image : espressif/idf:release-v5.3
193193 variables :
194- TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3"
194+ TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4 "
195195
196- build_idf_v5.0 :
196+ build_idf_v5.1 :
197197 extends : .build_pytest_template
198- image : espressif/idf:release-v5.0
198+ image : espressif/idf:release-v5.1
199199 variables :
200- TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3"
200+ TEST_TARGETS : " esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 "
201201
202202.target_test_template :
203203 stage : target_test
@@ -222,7 +222,8 @@ build_idf_v5.0:
222222.test_cur_folder : &test_cur_folder |
223223 export IDF_VER=$(cat ${TEST_DIR}/idf_version_info.txt)
224224 echo "Start test job : ${CI_JOB_NAME}, version: ${IDF_VER%-*}, folder: ${PWD##*/}"
225- python -m pytest --junit-xml=${TEST_DIR}/${PWD##*/}/results_${IDF_VER%-*}_${PWD##*/}.xml --target=${IDF_TARGET} -m multi_dut_modbus_${TEST_MARKER}
225+ echo "Check built artifacts:" $(find . -type d -regex '^\./.*build_esp32[a-z]*[0-9]*[_a-z]*' -print)
226+ python -m pytest --junit-xml=${TEST_DIR}/${PWD##*/}/results_${IDF_VER%-*}_${PWD##*/}.xml -m multi_dut_modbus_${TEST_MARKER}
226227 ls -lh > test_dir_${PWD##*/}.txt
227228
228229.test_template :
@@ -232,8 +233,6 @@ build_idf_v5.0:
232233 - .before_script_pytest_jobs
233234 tags :
234235 - multi_dut_modbus_${TEST_MARKER}
235- variables :
236- IDF_TARGET : " esp32" # the only esp32 runners are available for now
237236 script :
238237 - cd ${TEST_DIR}/test_apps/
239238 - *test_cur_folder
@@ -246,19 +245,17 @@ build_idf_v5.0:
246245 - " ${TEST_DIR}/**/*.xml"
247246 - " ${TEST_DIR}/**/results_*.xml"
248247 - " ${TEST_DIR}/**/pytest_embedded_log/"
249- - " ${TEST_DIR}/**/test_dir*.txt"
248+ - " ${TEST_DIR}/**/test_dir*.txt"
250249 - " ${TEST_DIR}/**/idf_version_info.txt"
251- - " ${TEST_DIR}/**/log.html"
250+ - " ${TEST_DIR}/**/log.html" # robot framework related files
252251 - " ${TEST_DIR}/**/report.html"
253252 - " ${TEST_DIR}/**/*.pcap"
254- reports :
255- junit : ${TEST_DIR}/results_${IDF_VER%-*}.xml
256253 when : always
257254 expire_in : 1 week
258255
259256target_test_latest :
260257 stage : target_test
261- image : " $CI_DOCKER_REGISTRY/target-test-env-v5.4:1 "
258+ image : " $CI_DOCKER_REGISTRY/target-test-env-v6.0:2 "
262259 extends : .test_template
263260 parallel :
264261 matrix :
@@ -268,39 +265,39 @@ target_test_latest:
268265 artifacts : true
269266 after_script : []
270267
271- target_test_v5.3 :
268+ target_test_v5.5 :
272269 stage : target_test
273- image : " $CI_DOCKER_REGISTRY/target-test-env-v5.3:1 "
270+ image : " $CI_DOCKER_REGISTRY/target-test-env-v5.5:2 "
274271 extends : .test_template
275272 parallel :
276273 matrix :
277274 - !reference [.options_list, markers]
278275 needs :
279- job : build_idf_v5.3
276+ job : build_idf_v5.5
280277 artifacts : true
281278 after_script : []
282279
283- target_test_v5.2 :
280+ target_test_v5.3 :
284281 stage : target_test
285- image : " $CI_DOCKER_REGISTRY/target-test-env-v5.2:2 "
282+ image : " $CI_DOCKER_REGISTRY/target-test-env-v5.3:1 "
286283 extends : .test_template
287284 parallel :
288285 matrix :
289286 - !reference [.options_list, markers]
290287 needs :
291- job : build_idf_v5.2
288+ job : build_idf_v5.3
292289 artifacts : true
293290 after_script : []
294291
295- target_test_v5.0 :
292+ target_test_v5.1 :
296293 stage : target_test
297- image : " $CI_DOCKER_REGISTRY/target-test-env-v5.0:3 "
294+ image : " $CI_DOCKER_REGISTRY/target-test-env-v5.1:1 "
298295 extends : .test_template
299296 parallel :
300297 matrix :
301298 - !reference [.options_list, markers]
302299 needs :
303- job : build_idf_v5.0
300+ job : build_idf_v5.1
304301 artifacts : true
305302 after_script : []
306303
0 commit comments