From 8b691c8bfc29930e8b7d34cba5735f8be256d4d4 Mon Sep 17 00:00:00 2001 From: enriquezgarc Date: Mon, 7 Aug 2023 11:25:09 +0200 Subject: [PATCH] tools/ci.sh: Adding new functions for psoc6 ci port. Signed-off-by: enriquezgarc --- tools/ci.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/ci.sh b/tools/ci.sh index 6578ebccc4eff..f30f2c2cb64f0 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -266,8 +266,9 @@ function ci_psoc6_deploy { } function ci_psoc6_flash_multiple_devices { + # hex file including path with respect to micropython root hex_file=$1 - docker exec mtb-ci make program_multi_ext_hex EXT_HEX_FILE=${hex_file} + docker exec mtb-ci make program_multi_ext_hex EXT_HEX_FILE=../../${hex_file} } function ci_psoc6_run_tests { @@ -275,10 +276,7 @@ function ci_psoc6_run_tests { } function ci_psoc6_teardown { - # mkdir ${GITHUB_WORKSPACE} docker stop mtb-ci - docker rm mtb-ci - docker image prune -all } ########################################################################################