Skip to content

Commit d4f7a65

Browse files
committed
adding C/C++ Linter to Ci workflow
1 parent d9abfa6 commit d4f7a65

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/surf_ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ jobs:
4949
python -m compileall -f python/ scripts/ tests/
5050
flake8 --count python/ scripts/ tests/
5151
52+
- name: C/C++ Linter
53+
run: |
54+
find . -name '*.h' -o -name '*.cpp' -o -name '*.c' | xargs cpplint
55+
5256
- name: VHDL Regression Testing
5357
run: |
5458
./ghdl-build.sh > /dev/null 2>&1

pip_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ coverage
66
#codecov
77
pytest
88
pytest-cov
9+
cpplint

0 commit comments

Comments
 (0)