Skip to content

[TASK] Reusable CI/CD Pipeline for running clang-tidy for Embedded #26

@kluge7

Description

@kluge7

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

  1. Checkout Repository
  2. Generate compile_commands.json file
  3. Run clang-tidy
  4. Post clang-tidy Report to PR

Specifications

  • Trigger Events: The pipeline will run on workflow_call (Since its meant to be reusable)
  • clang-tidy Configuration: Include a .clang-tidy file in the repository that can be reused in other repositories
  • PR feedback: If it is possible, if clang-tidy detects any issues, these should be automatically added as a comment to the pull request the pipeline is run in.

Contacts

@kluge7

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsDevOps team responsibleembeddedEmbedded team responsibleenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions