Skip to content

Commit 7f5e0c3

Browse files
Install cysecuretools in CI
1 parent a2b2c7e commit 7f5e0c3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/test_building_multiple_executables.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
python3 -m pip uninstall -y mbed-tools
2020
2121
python3 -m pip install -e ./tools
22+
23+
# Also install cysecuretools which is not installed automatically
24+
python3 -m pip install 'cysecuretools~=6.0'
2225
2326
# Note: For this CI job we use MBED_CREATE_PYTHON_VENV=FALSE so that we can make sure
2427
# this mode works.

tools/cmake/mbed_python_interpreter.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ function(mbed_check_or_install_python_package FOUND_VAR PACKAGE_IMPORT_NAME PACK
164164
# Redo the check to confirm it's installed
165165
check_python_package(${PACKAGE_IMPORT_NAME} ${FOUND_VAR})
166166
endif()
167+
else()
168+
message(WARNING "Mbed: ${PACKAGE_IMPORT_NAME} cannot be installed because the Mbed virtualenv is not being used. Please install ${PACKAGE_INSTALL_CONSTRAINT} into Mbed's Python interpeter manually.")
167169
endif()
168170
endif()
169171
endfunction(mbed_check_or_install_python_package)

0 commit comments

Comments
 (0)