From bd285382714bdcbda8053f035180e93920456e84 Mon Sep 17 00:00:00 2001 From: joshjennings98 Date: Mon, 17 Jun 2024 15:15:37 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20Add=20CI=20for=20verifying=20wh?= =?UTF-8?q?ether=20the=20project=20is=20CMSIS=20Compliant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ README.md | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..355dca1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: Verify CMSIS Compliance + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + verify-cmsis-compliance: + name: Verify CMSIS Compliance + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: Arm-Examples/verify-cmsis-example-action@latest + name: Verify CMSIS Compliance + with: + branch: ${{ github.ref }} + project-file: ./mlek.csolution.yml + API_TOKEN: ${{ secrets.CMSIS_API_KEY }} diff --git a/README.md b/README.md index c241673..1c50e49 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # CMSIS-Pack based Machine Learning Examples +[![CMSIS Compliance](https://img.shields.io/github/actions/workflow/status/Arm-Examples/mlek-cmsis-pack-examples/ci.yml?logo=arm&logoColor=0091bd&label=CMSIS%20Compliance)](https://www.keil.arm.com/cmsis) - [CMSIS-Pack based Machine Learning Examples](#cmsis-pack-based-machine-learning-examples) - [Introduction](#introduction) @@ -369,4 +370,4 @@ spot immediately. Please help us improve this section by reporting them via GitH Currently Keil Studio Cloud only supports running with the Arm® Ethos™-U55 on AVH virtual targets. You can build the project but will have to run it on your local machine on an - installation of the equivalent Fixed Virtual Platform containing Arm® Ethos™-U65 NPU. \ No newline at end of file + installation of the equivalent Fixed Virtual Platform containing Arm® Ethos™-U65 NPU. From 0a9ad29622c016b4a60da43b7cf344c1bc030ba0 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 18 Jun 2024 08:49:23 +0100 Subject: [PATCH 2/2] Update ci.yml Signed-off-by: Josh --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 355dca1..52d9a9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: [ main ] pull_request: branches: [ main ] + schedule: + - cron: '0 6 * * 5' jobs: verify-cmsis-compliance: