diff --git a/.github/workflows/CI.yml b/.github/workflows/project.yml similarity index 99% rename from .github/workflows/CI.yml rename to .github/workflows/project.yml index f24a32b..4e0784b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/project.yml @@ -4,6 +4,7 @@ on: push: paths: - 'project/**' + - '**.yml' jobs: CodeCheck: diff --git a/.github/workflows/linux-sdcc-4.0.0.yml b/.github/workflows/src.yml similarity index 96% rename from .github/workflows/linux-sdcc-4.0.0.yml rename to .github/workflows/src.yml index 1d32c52..9f2c043 100644 --- a/.github/workflows/linux-sdcc-4.0.0.yml +++ b/.github/workflows/src.yml @@ -1,9 +1,10 @@ -name: template +name: src on: push: paths: - 'src/**' + - '**.yml' jobs: build: diff --git a/README.md b/README.md index eaf830c..f18cc5c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ [![sites](http://182.61.61.133/link/resources/SoC.png)](http://www.SoC.Xin) +[![Build Status](https://github.com/SoCXin/CH552/workflows/project/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/project.yml) +[![Build Status](https://github.com/SoCXin/CH552/workflows/src/badge.svg)](https://github.com/SoCXin/CH552/actions/workflows/src.yml) + #### [Vendor](https://github.com/SoCXin/Vendor):[WCH](http://www.wch.cn/) #### [Core](https://github.com/SoCXin/8051):[8051](https://github.com/SoCXin/8051) #### [Level](https://github.com/SoCXin/Level):24MHz