Open kluge7 opened 2 weeks ago
Here's an outline of how I envision the pipeline working:
compile_commands.json
: You need to use CMake (or make) to generate the compile_commands.json
file, which clang-tidy requires to understand the compilation processclang-tidy
: Run clang-tidy
on the C source files to analyze the code for style and quality issues. NB: It needs to use the .clang-tidy config file here!
Description of task
This task involves creating a reusable CI/CD pipeline using GitHub Actions to automatically run clang-tidy for our embedded repositories. This pipeline will ensure that all C code within the workspace follows consistent quality and style standards, and it will help detect issues early.
Suggested Workflow
Specifications
Contacts
@kluge7