Update and rename ccpp.yml to cpplint.yml

This commit is contained in:
Christian Clauss
2019-11-27 14:36:03 +01:00
committed by GitHub
parent 64f2e2b1b9
commit 56aeed2d18

13
.github/workflows/cpplint.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: cpplint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- run: pip install cpplint
# - run: cpplint --filter= # print out all cpplint rules
- run: cpplint --recursive . || true # all issues to be fixed
# TODO: Remove each filter one at a time and fix those failures
- run: cpplint --filter=-build,-legal,-readability,-runtime,-whitespace --recursive .