RobotecAI / ros2cs

A C# (.Net) implementation of ros2 client library (rcl), enabling communication between ros2 ecosystem and C#/.Net applications such as Unity3D
Apache License 2.0
91 stars 22 forks source link

Implement automatic Tests #52

Open Deric-W opened 1 year ago

Deric-W commented 1 year ago

This PR implements #48 by setting up two Github Actions workflows (for Ubuntu and Windows). Furthermore, it removes foxy declarations which are not supported anymore and reduces the amount of packages being build by only building ros2cs and custom packages in src/custom_packages and their dependencies.

While there are existing actions for ROS CI like ros-tooling/setup-ros and ros-tooling/action-ros-ci their use caused errors or unecessary slowdowns when selecting the Python version, see ros-tooling/setup-ros#552 and ros-tooling/setup-ros#439. Currently the only ROS version being tested is humble, if you want I can add jobs for other versions. To not waste CI minutes the jobs only run on commits or Pull Requests to master (which I assume is the "stable" branch) but can be triggered manually.

Deric-W commented 1 year ago

The jobs take 9 (Ubuntu) and 40 (Windows) minutes, if you want I can look into setting up caching for the build.