tools/ci: Install imgtool for CI build

This is mainly required for macOS builds which do not rely on a base
Docker image that would contain imgtool already preinstalled.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2021-08-30 16:34:15 -03:00 committed by Xiang Xiao
parent bdbbc3e514
commit 23effc505c
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ function python-tools {
export PYTHONUSERBASE
add_path $PYTHONUSERBASE/bin
pip3 install pexpect
# MCUboot's tool for image signing and key management
if ! command -v imgtool &> /dev/null; then
pip3 install imgtool
fi
}
function u-boot-tools {