diff --git a/.github/workflows/cpp_linters.yaml b/.github/workflows/cpp_linters.yaml new file mode 100644 index 0000000..20cd5f6 --- /dev/null +++ b/.github/workflows/cpp_linters.yaml @@ -0,0 +1,34 @@ +name: CPPLinters + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + cpplinter: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Python Setup + uses: actions/setup-python@v3 + with: + python-version: 3.13 + + - name: Install libraries + run: make python-install-editable + + - name: Install pipx + run: | + sudo apt update + sudo apt install pipx + pipx ensurepath + sudo pipx ensurepath --global + - name: Install cpplint + run: pipx install cpplint + - name: Run cpplint + run: cpplint --filter=-whitespace/line_length,-whitespace/parens ./src/app/fast/*