Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.
19 changes: 17 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
# Run on all pull requests and all pushes to master
push:
branches: [ master ]
branches: [master]
pull_request:

# Allow running this workflow manually
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

- uses: actions/setup-python@v2
with:
python-version: '3.9'
python-version: "3.9"

- name: Install Python tooling
run: |
Expand Down Expand Up @@ -135,3 +135,18 @@ jobs:
make test_all PLATFORM=x86 DEFINE="${DEFINES}"
make pytest_all
make build_all PLATFORM=x86 COMPILER=clang DEFINE="${DEFINES}"

misra-cppcheck:
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"

- name: Cppcheck MISRA-C Compilence
run: |
sudo apt-get install cppcheck
cppcheck
find . -path **/src/** | cppcheck --enable=all --addon=misra.py --file-list=-