diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 000000000..744fd7c48 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,12 @@ +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 + # TODO: Remove each filter one at a time and fix those failures + - run: cpplint --filter=-build,-legal,-readability,-runtime,-whitespace --recursive .