Skip to content

Commit c9db6e8

Browse files
W-M-Rxiaoxiang781216
authored andcommitted
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 <[email protected]>
1 parent 7def098 commit c9db6e8

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

Diff for: tools/ci/docker/linux/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ RUN pip3 install cmake-format
387387
RUN pip3 install cvt2utf
388388
# Install pytest
389389
RUN pip3 install cxxfilt
390+
RUN pip3 install construct
390391
RUN pip3 install esptool==4.8.dev4
391392
RUN pip3 install imgtool
392393
RUN pip3 install kconfiglib

Diff for: tools/ci/platforms/darwin.sh

+1
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ python_tools() {
220220

221221
pip3 install \
222222
cmake-format \
223+
construct \
223224
cvt2utf \
224225
cxxfilt \
225226
esptool==4.8.dev4 \

Diff for: tools/ci/platforms/linux.sh

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ python_tools() {
143143
pip3 install \
144144
cmake-format \
145145
CodeChecker \
146+
construct \
146147
cvt2utf \
147148
cxxfilt \
148149
esptool==4.8.dev4 \

Diff for: tools/ci/platforms/msys2.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ kconfig_frontends() {
137137
fi
138138
}
139139

140+
python_tools() {
141+
pip3 install \
142+
construct
143+
}
144+
140145
mips_gcc_toolchain() {
141146
add_path "${NUTTXTOOLS}"/pinguino-compilers/windows64/p32/bin
142147

@@ -283,7 +288,7 @@ install_build_tools() {
283288
mkdir -p "${NUTTXTOOLS}"
284289
echo "#!/usr/bin/env sh" > "${NUTTXTOOLS}"/env.sh
285290

286-
install="arm_clang_toolchain arm_gcc_toolchain arm64_gcc_toolchain kconfig_frontends riscv_gcc_toolchain rust"
291+
install="arm_clang_toolchain arm_gcc_toolchain arm64_gcc_toolchain kconfig_frontends riscv_gcc_toolchain rust python_tools"
287292

288293
oldpath=$(cd . && pwd -P)
289294
for func in ${install}; do

Diff for: tools/ci/platforms/ubuntu.sh

+1
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ python_tools() {
196196
pip3 install \
197197
cmake-format \
198198
CodeChecker \
199+
construct \
199200
cvt2utf \
200201
cxxfilt \
201202
esptool==4.8.dev4 \

0 commit comments

Comments
 (0)