mirror of
https://github.com/sakumisu/CherryUSB.git
synced 2025-05-09 00:21:44 +08:00
Create cppcheck.yml
This commit is contained in:
parent
2b6eebcbb2
commit
bb79408275
17
.github/workflows/cppcheck.yml
vendored
Normal file
17
.github/workflows/cppcheck.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Cppcheck action
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: cppcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: cppcheck
|
||||
shell: bash
|
||||
run: |
|
||||
sudo apt install cppcheck
|
||||
cppcheck --enable=warning,portability,performance --language=c --platform=unix32 --std=c99 --force . -i third_party/ -i class/template -i port/template/
|
Loading…
x
Reference in New Issue
Block a user