mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
tools/ci/cibuild.sh: add CodeChecker requirements for cibuild.sh
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
This commit is contained in:
+13
-1
@@ -46,7 +46,7 @@ case ${os} in
|
|||||||
brew update --quiet
|
brew update --quiet
|
||||||
;;
|
;;
|
||||||
Linux)
|
Linux)
|
||||||
install="python-tools gen-romfs gperf kconfig-frontends rust arm-gcc-toolchain arm64-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain rx-gcc-toolchain sparc-gcc-toolchain c-cache"
|
install="python-tools codechecker clang_clang-tidy gen-romfs gperf kconfig-frontends rust arm-gcc-toolchain arm64-gcc-toolchain mips-gcc-toolchain riscv-gcc-toolchain xtensa-esp32-gcc-toolchain rx-gcc-toolchain sparc-gcc-toolchain c-cache"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -70,6 +70,18 @@ function python-tools {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function codechecker {
|
||||||
|
pip3 install CodeChecker
|
||||||
|
}
|
||||||
|
|
||||||
|
function clang_clang-tidy {
|
||||||
|
# Install Clang and Clang-Tidy for Ubuntu.
|
||||||
|
apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -qq \
|
||||||
|
-o APT::Immediate-Configure=0 \
|
||||||
|
clang \
|
||||||
|
clang-tidy
|
||||||
|
}
|
||||||
|
|
||||||
function u-boot-tools {
|
function u-boot-tools {
|
||||||
if ! type mkimage &> /dev/null; then
|
if ! type mkimage &> /dev/null; then
|
||||||
case ${os} in
|
case ${os} in
|
||||||
|
|||||||
Reference in New Issue
Block a user