Skip to content

[Feature] ci/cd 在qemu上实现方案 #9937

@supperthomas

Description

@supperthomas

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是否有匹配字

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions