RI-SE / ATOS

ROS2 based platform for coordinating tests of automated vehicles and their surrounding systems.
Mozilla Public License 2.0
16 stars 4 forks source link

Added github actions for build and clang-tidy/format. #628

Closed SebastianSvanland closed 9 months ago

SebastianSvanland commented 10 months ago

Added some workflows for adding clang-tidy and clang-format, as well as one for build (clang-tidy depends on the build step). Right now, after some discussion with Robert, the clang tools does not block merging since we just started using them, but you can find the output if you go to the workflow's summary and at the bottom you will find two artifacts (zip-files) called clang-format/tidy-result with suggested fixes. Something to note is that ATOS now uses clang compiler instead of gcc.

I also restructured a bit by putting all files related to ATOS' ros package in one folder and keep the rest (config, scripts, plugins etc). This allows for simpler installation without the need for symbolic links to atos_interfaces, atos_gui and potentially more packages in the future. It also simplified the use of clang-tidy and clang-format.