vortexntnu / vortex-ci

This repository holds reusable workflows for CI.
MIT License
2 stars 0 forks source link

[TASK] Reusable CI/CD Pipeline for running clang-tidy on ROS2 Workspace #21

Open kluge7 opened 3 weeks ago

kluge7 commented 3 weeks ago

Description of task

This task involves creating a reusable CI/CD pipeline using GitHub Actions to automatically run clang-tidy on a ROS 2 workspace. 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. Set Up ROS 2 Environment
  3. Install colcon and Additional Dependencies
  4. Build the Workspace with colcon - This step is necessary to generate compile_commands.json files which clang-tidy uses. You might need to configure the CMakeLists.txt files in the repositories where this will be implemented
  5. Run clang-tidy
  6. Post clang-tidy Report to PR

Specifications

Contacts

Code Quality