Commit Graph

3 Commits

Author SHA1 Message Date
Andi Drebes
5167781e44 ci(compiler): Add option --fix to lint_cpp.sh
Add an option `--fix` to `lint_cpp.sh` advising `clang-tidy` to apply
suggested fixes.
2021-06-11 10:45:00 +02:00
Andi Drebes
bf101e5147 ci(compiler): Add script for C++ linting
Add script `.github/workflows/scripts/lint_cpp.sh` that runs
`clang-tidy` with the right parameters to limit checks to source files
not generated automatically.

The script must be run from within the build directory as it relies on
`compiler_commands.json` and `CMakeFiles/CMakeDirectoryInformation.cmake`.
2021-06-08 14:26:42 +02:00
Ayoub Benaissa
eef82a4713 style(compiler): c++ formatting with github action (#22)
* style(compiler): c++ formatting with github action

* style(compiler): update format script
2021-06-04 09:18:14 +02:00