Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
W-M-R committed Oct 11, 2024
1 parent 2f26323 commit 6709f0d
Showing 5 changed files with 11 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
@@ -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
1 change: 1 addition & 0 deletions tools/ci/platforms/darwin.sh
Original file line number Diff line number Diff line change
@@ -220,6 +220,7 @@ python_tools() {

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

python_tools() {

pip3 install \
construct
}

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

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

0 comments on commit 6709f0d

Please sign in to comment.