RT-Thread / RT-Thread/rt-thread
[Feature] ci/cd 在qemu上实现方案
Open
@supperthomas is already working on this.
Since Jan 20, 2025.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
Describe problem solved by the proposed feature
可以在原有的ci.attachconfig.yml中实现如下规则:
bsp_board_info:
arch: arm
toolchain: arm-none-eabi-gcc
pre_build: |
./tools/ci/toolchain.sh arm-none-eabi-gcc
apt-get install qemu-system
post_build: arm-none-eabi-objcopy -O ihex rt-thread.elf rt-thread.hex
run_cmd: ./qemu-nographic.sh
qemu_flag: true
pkg.tools.coremark:
kconfig:
- CONFIG_PKG_USING_COREMARK=y
ci_build_run_flag : true
buildcheckresult: "coremark" #检查编译的log中是否有匹配字
checkresult: '[==========] [ utest ] end' #检查执行过程中的log是否有匹配字
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.