mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
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:
committed by
Xiang Xiao
parent
7def0983f6
commit
c9db6e8173
@@ -387,6 +387,7 @@ RUN pip3 install cmake-format
|
|||||||
RUN pip3 install cvt2utf
|
RUN pip3 install cvt2utf
|
||||||
# Install pytest
|
# Install pytest
|
||||||
RUN pip3 install cxxfilt
|
RUN pip3 install cxxfilt
|
||||||
|
RUN pip3 install construct
|
||||||
RUN pip3 install esptool==4.8.dev4
|
RUN pip3 install esptool==4.8.dev4
|
||||||
RUN pip3 install imgtool
|
RUN pip3 install imgtool
|
||||||
RUN pip3 install kconfiglib
|
RUN pip3 install kconfiglib
|
||||||
|
|||||||
@@ -220,6 +220,7 @@ python_tools() {
|
|||||||
|
|
||||||
pip3 install \
|
pip3 install \
|
||||||
cmake-format \
|
cmake-format \
|
||||||
|
construct \
|
||||||
cvt2utf \
|
cvt2utf \
|
||||||
cxxfilt \
|
cxxfilt \
|
||||||
esptool==4.8.dev4 \
|
esptool==4.8.dev4 \
|
||||||
|
|||||||
@@ -143,6 +143,7 @@ python_tools() {
|
|||||||
pip3 install \
|
pip3 install \
|
||||||
cmake-format \
|
cmake-format \
|
||||||
CodeChecker \
|
CodeChecker \
|
||||||
|
construct \
|
||||||
cvt2utf \
|
cvt2utf \
|
||||||
cxxfilt \
|
cxxfilt \
|
||||||
esptool==4.8.dev4 \
|
esptool==4.8.dev4 \
|
||||||
|
|||||||
@@ -137,6 +137,11 @@ kconfig_frontends() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python_tools() {
|
||||||
|
pip3 install \
|
||||||
|
construct
|
||||||
|
}
|
||||||
|
|
||||||
mips_gcc_toolchain() {
|
mips_gcc_toolchain() {
|
||||||
add_path "${NUTTXTOOLS}"/pinguino-compilers/windows64/p32/bin
|
add_path "${NUTTXTOOLS}"/pinguino-compilers/windows64/p32/bin
|
||||||
|
|
||||||
@@ -283,7 +288,7 @@ install_build_tools() {
|
|||||||
mkdir -p "${NUTTXTOOLS}"
|
mkdir -p "${NUTTXTOOLS}"
|
||||||
echo "#!/usr/bin/env sh" > "${NUTTXTOOLS}"/env.sh
|
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)
|
oldpath=$(cd . && pwd -P)
|
||||||
for func in ${install}; do
|
for func in ${install}; do
|
||||||
|
|||||||
@@ -196,6 +196,7 @@ python_tools() {
|
|||||||
pip3 install \
|
pip3 install \
|
||||||
cmake-format \
|
cmake-format \
|
||||||
CodeChecker \
|
CodeChecker \
|
||||||
|
construct \
|
||||||
cvt2utf \
|
cvt2utf \
|
||||||
cxxfilt \
|
cxxfilt \
|
||||||
esptool==4.8.dev4 \
|
esptool==4.8.dev4 \
|
||||||
|
|||||||
Reference in New Issue
Block a user