File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed
Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1- # rt-thread_linux_env
1+ # RT-Thread Linux CI Environment
2+
3+
4+
5+ 一个用于嵌入式实时操作系统 RT-Thread 进行持续集成的容器化环境。
6+
7+ 范例:
8+
9+ [ Azure Pipelines] ( azure-pipelines.md )
10+
11+
12+
13+ 已知问题:
14+
15+ 1 . pkgs --update 执行失败 命令行却没有失败。
16+ 2 .
Original file line number Diff line number Diff line change 1+ ``` yml
2+ container :
3+ image : maikebing/rt-thread_linux_env:latest
4+ options : --hostname container-test
5+
6+
7+ steps :
8+ - script : if [ ! -f ~/.env ]; then ln /env ~/.env -s;fi
9+ displayName : " Init env"
10+ - script : pkgs --printenv;pkgs --list;pkgs --update
11+ displayName : " Checkout all packages"
12+ workingDirectory : $(Build.SourcesDirectory)
13+ - script : cppcheck --enable=all --std=c99 applications/
14+ displayName : " Static Code Analysis"
15+ workingDirectory : $(Build.SourcesDirectory)
16+ - script : scons --target=mdk5
17+ workingDirectory : $(Build.SourcesDirectory)
18+ displayName : " Build MDK5 Project"
19+ - task : PublishBuildArtifacts@1
20+ inputs :
21+ PathtoPublish : ' $(Build.ArtifactStagingDirectory)'
22+ TargetPath : ' $(Build.SourcesDirectory)\rtthread.bin'
23+ ArtifactName : ' rt-thread'
24+ publishLocation : ' Container'
25+ StoreAsTar : true
26+ ` ` `
You can’t perform that action at this time.
0 commit comments