Skip to content

Commit

Permalink
CI: CI Docker adds Python package installation
Browse files Browse the repository at this point in the history
1. Add Python tool 'install CI' to MSYS2 platform
2. CI Python Add Package Construction

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
  • Loading branch information
W-M-R authored and xiaoxiang781216 committed Oct 12, 2024
1 parent 7def098 commit c9db6e8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/ci/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tools/ci/platforms/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ python_tools() {

pip3 install \
cmake-format \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \
Expand Down
1 change: 1 addition & 0 deletions tools/ci/platforms/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ python_tools() {
pip3 install \
cmake-format \
CodeChecker \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \
Expand Down
7 changes: 6 additions & 1 deletion tools/ci/platforms/msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ kconfig_frontends() {
fi
}

python_tools() {
pip3 install \
construct
}

mips_gcc_toolchain() {
add_path "${NUTTXTOOLS}"/pinguino-compilers/windows64/p32/bin

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tools/ci/platforms/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ python_tools() {
pip3 install \
cmake-format \
CodeChecker \
construct \
cvt2utf \
cxxfilt \
esptool==4.8.dev4 \
Expand Down

0 comments on commit c9db6e8

Please sign in to comment.