Supper Thomas
Supper Thomas
Intro to CI/CD Part 2: Getting Started with GitHub Actions | Digi-Key Electronics https://www.youtube.com/watch?v=8pyqbYDYkRs
 github action token权限。
``` - name: Push to GitHub uses: EndBug/add-and-commit@v9 with: message: "🎆 docs: Update new data" ```
``` nohup qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -nographic -sd sd.bin > cmd2.out 2>&1 & ```
github action 缓存机制 https://github.com/a1012112796/rtt_ci_env https://github.com/a1012112796/rt-thread/blob/zzc/dev/ci_simple/.github/workflows/action.yml https://cloud.tencent.com/developer/article/1695206
通过rtt_ci_env仓库的ci 来push对应的image到dockerhub的不同tag 然后通过rtthread里面的action来调用对应的image。这个其实耗时比较大。
静态分析参考 https://github.com/nasa/cFE/blob/main/.github/workflows/static-analysis.yml
CI脚本,只负责检查,并不负责修改
1. cppcheck: 静态代码分析 http://cppcheck.net/ 2. astyle: 代码格式整理 http://astyle.sourceforge.net/