Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement automatic Tests #52

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Conversation

Deric-W
Copy link
Contributor

@Deric-W Deric-W commented Jun 9, 2023

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.

It is not mentioned in the README.
This commit only builds packages contained in
`src/ros2cs` and `src/custom_packages` and their
dependencies to speed up the build process.
Furthermore, it makes building the examples optional.
The workflow will run the tests with the supported
ros distributions on all supported platforms.
To prevent unnecessary runs its is only triggered
by pushes or pull requests to master or manually.
@Deric-W
Copy link
Contributor Author

Deric-W commented Jun 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant