Xiang Xiao
c04d8560d3
tools/ci: Update the final docker image to ubuntu 22.04
...
g++ need update to the new version for libcxx 15.0.7
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-08-18 15:35:59 +03:00
raiden00pl
44b5eb3751
cmake: update docker cmake to 3.26.0
2023-07-24 09:53:22 -07:00
chao an
df9f700c28
tools/ci: print cmake warning message only once
...
1. print cmake warning message only once
2. Touch Dockerfile to update the ci-docker
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-20 21:40:34 +08:00
chao an
7eff229838
tools/ci/checkpatch: add cmake style check into ci-check
...
Signed-off-by: chao an <anchao@xiaomi.com>
2023-07-18 10:09:48 -03:00
chao an
df6d799577
tools/ci: Update GNU Arm Embedded Toolchain to Version 12.2-2022.12.22
...
x86_64 Linux hosted cross toolchains
AArch32 bare-metal target (arm-none-eabi)
arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz
Remove toolchain workaround which already fixed by ARM:
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2023-06-26 20:03:38 +08:00
Petro Karashchenko
f84f30fe17
tools/ci: upgrade to the latest Xtensa ESP32 toolchains
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-03-21 21:59:30 -03:00
chao an
a7de849944
tools/ci: setup wasi-sdk/wamrc into cibuild
...
wasi-sdk:
https://github.com/WebAssembly/wasi-sdk
wamrc:
https://github.com/bytecodealliance/wasm-micro-runtime
Signed-off-by: chao an <anchao@xiaomi.com>
2023-03-04 01:40:25 +08:00
Xiang Xiao
2c5f653bfd
Remove the tail spaces from all files except Documentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-26 13:24:24 -08:00
zhangyuan21
3c162b1e14
tools/ci: add libusb1.0 package
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-02-26 22:39:57 +08:00
chao an
b8ef55d201
Revert "tools/ci: Update GNU Arm Embedded Toolchain to Version 12.2-2022.12.22"
...
This reverts commit 809252e3fd
.
Wrong warning array subscript [0] is outside array bounds:
| chip/lpc43_usb0dev.c: In function 'lpc43_getframe':
| arch/arm/src/common/arm_internal.h:134:25: warning: array subscript 0 is outside array bounds of 'volatile uint32_t[0]' {aka 'volatile long unsigned int[]'} [-Warray-bounds]
| 134 | #define getreg32(a) (*(volatile uint32_t *)(a))
| | ~^~~~~~~~~~~~~~~~~~~~~~~~~~
| chip/lpc43_usb0dev.c:347:33: note: in expansion of macro 'getreg32'
| 347 | # define lpc43_getreg(addr) getreg32(addr)
| | ^~~~~~~~
| chip/lpc43_usb0dev.c:2605:15: note: in expansion of macro 'lpc43_getreg'
| 2605 | return (int)lpc43_getreg(LPC43_USBDEV_FRINDEX_OFFSET);
| |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-20 20:05:13 +08:00
chao an
809252e3fd
tools/ci: Update GNU Arm Embedded Toolchain to Version 12.2-2022.12.22
...
x86_64 Linux hosted cross toolchains
AArch32 bare-metal target (arm-none-eabi)
arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz
Remove toolchain workaround which already fixed by ARM:
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-20 16:20:39 +08:00
Xiang Xiao
d5b510e023
tools/ci: Install genromfs instead building it from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-17 16:01:52 +08:00
Xiang Xiao
0582930e4b
tools/ci: Install python kconfiglib
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-17 16:01:52 +08:00
Fotis Panagiotopoulos
290a9157eb
checkpatch: Added encoding check with cvt2utf
2023-02-01 20:42:35 +08:00
qiaohaijiao1
869d3bfb32
tools/ci/docker/linux/Dockerfile: add libmp3lame-dev:i386
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2023-02-01 13:29:01 +08:00
Peter Bee
e1561f8512
tools/ci/docker/linux/Dockerfile: add libv4l-dev
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-14 12:17:37 +08:00
Gustavo Henrique Nihei
6711b37662
tools/ci: Update RISC-V toolchain in Dockerfile to latest version
...
The #6094 updated the toolchain, but only in the script used by MacOS
CI runners.
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-12-08 17:13:41 -03:00
qiaohaijiao1
127a3585cc
tools/ci/docker/linux/Dockerfile: add libmad0-dev in docker environment
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2022-11-29 00:20:25 +08:00
xinbingnan
4800c166ec
Dockerfile: fix cp clang-extdef-mapping no effect
...
Use a wrong command `CMD`, and the correct is `RUN`.
That's a low level fault made by me.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-11-28 14:31:19 +01:00
Nathan Hartman
03802dad13
NuttX graduated the Incubator; update repository links
2022-11-26 11:58:15 -08:00
chao an
f23ec0f995
Revert "tools/ci/arm/llvm/clang: bump up LLVMEmbeddedToolchainForArm to release-15.0.2"
...
This reverts commit b4bab51e86
.
Issue:
Builtin math symbols are missing on llvm 15.0.2(libm.a):
https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/issues/158
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 07:43:02 -08:00
chao an
b4bab51e86
tools/ci/arm/llvm/clang: bump up LLVMEmbeddedToolchainForArm to release-15.0.2
...
Upstream:
https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/tag/release-15.0.2
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-22 19:07:13 +08:00
W-Mai
07a2fa8d57
ci/docker: copy clang-extdef-mapping
to clang-arm
...
Clang relies on clang-extdef-mapping for ctu checking. But clang-arm doesn't provide this file
A tweaking way to support this feature is copy a `clang-extdef-mapping` from other clang version.
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-10-24 17:04:45 +08:00
Xiang Xiao
8c1036b7a1
tools/ci/docker/linux/Dockerfile: Keep the installation in alphabetical order
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 17:10:01 -07:00
Xiang Xiao
d922119f0a
tools/ci/docker/linux/Dockerfile: Intall libtinfo5 in final image
...
fix the following error:
/tools/clang-arm-none-eabi/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 17:10:01 -07:00
Xiang Xiao
19d1e08717
tools/ci/docker/linux/Dockerfile: Intall libncurses5-dev in final image
...
fix the following warning:
clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 11:48:24 -03:00
Xiang Xiao
4ea0c905e6
ci: Install LLVM Embedded Toolchain for Arm
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-22 17:04:21 +08:00
Xiang Xiao
b42b8c9275
Revert "Revert "tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022""
...
This reverts commit 8150534a2f
.
2022-10-22 09:12:18 +08:00
nietingting
81ff16c675
install qemu-system-misc in dockerw
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-20 17:44:22 +08:00
nietingting
33b7219caa
install qemu-system-arm in docker
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-18 21:29:25 +08:00
nietingting
ecb80dd888
install qemu on docker
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-18 07:56:04 +02:00
chao an
8150534a2f
Revert "tools/ci: patch for gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022"
...
revert this change since docker image upload always fails
This reverts commit 0f3f5d091a
.
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-13 17:28:37 +08:00
chao an
53dd0819cf
tools/ci: patch for docker gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Fix Wrong Newlib version strings, error when stdlib.h is included
Reference:
https://community.arm.com/support-forums/f/compilers-and-libraries-forum/53470/arm-gnu-toolchain-11-3-rel1-x86_64-arm-none-eabi-wrong-newlib-version-strings-error-when-stdlib-h-is-included
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-13 08:33:50 +09:00
chao an
cfe2ec3d4d
tools/ci: Update gcc-arm-none-eabi to 11.3.Rel1 August 08, 2022
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-12 19:54:37 +08:00
yinshengkai
d9065f29aa
tools/ci: add pyelftools and cxxfilt
2022-09-28 14:08:13 +08:00
nietingting
8b3a936588
ci: enable pytest on docker file
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-09-26 13:47:23 +08:00
xinbingnan
ef6036f63e
tools/ci/docker/linux/Dockerfile: Install CodeChecker and requirements(clang, clang-tidy)
...
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2022-09-16 02:09:20 +08:00
qinwei
881c896c06
tools: ci : add cibuild rule for arm64
...
Summary:
1. add aarch64-none-elf toolchain for cibuild rule
Signed-off-by: qinwei <qinwei1@xiaomi.com>
2022-06-22 12:14:59 +08:00
Petro Karashchenko
b302173f31
Revert "zig-build added"
...
This reverts commit 4880613b26
.
2022-03-16 22:17:16 +02:00
Matheus Catarino França
4880613b26
zig-build added
...
zig install added on CI - fixed
Docker - zig install
parent 5d2e3573c25b48ba7c3d697de11e64896e818aea
author Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
committer Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
zig-build added
zig install added on CI - fixed
Docker - zig install
CI - replace wget2curl
rm bloat curl command & zig latest version
ZIG_ENV - rm bin folder
ident format
Apply suggestions from code review
Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
rm arch-zigoptimization
rm arch-zigoptimization ref
2022-03-17 02:09:36 +08:00
Huang Qi
572f961136
ci: Update gcc-arm-none-eabi to 10.3-2021.10
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-02 15:41:56 +08:00
Piet
29c55cdda6
ci: harmonize rust installation paths.
2022-02-23 10:31:01 +08:00
Piet
fbfe457ced
ci: add RUSTUP_HOME to get rustup parts into container
2022-02-21 18:45:47 -08:00
Piet
c5bdbc810d
ci: get rust copied to final image.
2022-02-21 16:58:29 -08:00
Piet
bc3c316f5b
ci: Install Rust via RUN. (2nd try)
2022-02-21 11:25:42 -03:00
Petro Karashchenko
7744ca998f
Revert "ci: Install Rust via RUN."
...
This reverts commit 2e3b77da8e
.
2022-02-21 11:41:32 +01:00
Piet
2e3b77da8e
ci: Install Rust via RUN.
2022-02-21 11:04:58 +08:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Piet
bb3d8c35e4
ci: add Rust compiler suite
2022-02-20 10:30:30 +08:00
zouboan
09d57de7ec
add sparc toolchain to linux docker
2022-02-03 13:20:39 +08:00