-
Notifications
You must be signed in to change notification settings - Fork 5
build: install ROS before attempting to publish the rosidl_runtime_rs crate #12
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
Conversation
… crate Signed-off-by: Esteve Fernandez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So on one hand, if we use the generate_docs
feature we would presumably finish CI faster, which in general is nice. But I feel like especially for a release we should try and be as faithful as possible with our intended users environment.
To me, this makes sense to install ROS. As an aside, what version of ROS is installed?
On the one hand, we only do that once per release, so not a big deal if it takes a bit longer. On the other hand, we already build rclrs for every supported ROS distro when we merge a PR and periodically, so not sure if it's needed for a release in the end. I'd rename generate_docs to something more descriptive for this use case (e.g. build_for_release)
Actually none, I thought setup-ros would install the latest distro, but turns out that unless the required-ros-distributions option is passed, it just installs the ROS build tools. |
I would agree that renaming |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually none, I thought setup-ros would install the latest distro, but turns out that unless the required-ros-distributions option is passed, it just installs the ROS build tools.
If that's the case then lets just go with this approach
@maspe36 do you mean installing ROS or releasing with the |
Sorry I should've been more clear, lets just do what you're doing already in this PR and install ROS before attempting to release the crate. Either way though, we probably should rename |
Signed-off-by: Esteve Fernandez <[email protected]>
@maspe36 I've been thinking about the approach in this PR and it think it's not the right one, we could install all the supported ROS distros before release, but in the end we can only publish once and we're already testing all the ROS distros in our regular CI. I'm closing in favor of #14, which renames Thanks for reviewing the changes in this PR, can you have a look at #14 ? |
No description provided.