CI: CI Docker adds Python package installation

1. Add Python tool 'install CI' to MSYS2 platform
2. CI Python Add Package Construction

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
wangmingrong1
2024-10-11 14:39:20 +08:00
committed by Xiang Xiao
parent 7def0983f6
commit c9db6e8173
5 changed files with 10 additions and 1 deletions

View File

@@ -387,6 +387,7 @@ RUN pip3 install cmake-format
RUN pip3 install cvt2utf
# Install pytest
RUN pip3 install cxxfilt
RUN pip3 install construct
RUN pip3 install esptool==4.8.dev4
RUN pip3 install imgtool
RUN pip3 install kconfiglib

View File

@@ -220,6 +220,7 @@ python_tools() {
pip3 install \
cmake-format \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \

View File

@@ -143,6 +143,7 @@ python_tools() {
pip3 install \
cmake-format \
CodeChecker \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \

View File

@@ -137,6 +137,11 @@ kconfig_frontends() {
fi
}
python_tools() {
pip3 install \
construct
}
mips_gcc_toolchain() {
add_path "${NUTTXTOOLS}"/pinguino-compilers/windows64/p32/bin
@@ -283,7 +288,7 @@ install_build_tools() {
mkdir -p "${NUTTXTOOLS}"
echo "#!/usr/bin/env sh" > "${NUTTXTOOLS}"/env.sh
install="arm_clang_toolchain arm_gcc_toolchain arm64_gcc_toolchain kconfig_frontends riscv_gcc_toolchain rust"
install="arm_clang_toolchain arm_gcc_toolchain arm64_gcc_toolchain kconfig_frontends riscv_gcc_toolchain rust python_tools"
oldpath=$(cd . && pwd -P)
for func in ${install}; do

View File

@@ -196,6 +196,7 @@ python_tools() {
pip3 install \
cmake-format \
CodeChecker \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \