Repository navigation
Get ortools_vendor to use ament_vendor properly - #3
Merged
Merged
Conversation
This uses a forked version of jspricke/ros-deb-builder-action that allows the sbuild tool access to the internet inorder to use ament_vendor and cmake ExternalProject/FetchContent.
Contributor
Author
|
@Gonzalo-Mier I think this is ready to be bloomed IMO. I have setup github actions to prove that a debian package can be built successfully for both humble on jammy(22.04) and jazzy on noble(24.04) This needs to be available on testing before the Fields2Cover packaging can use it. |
Member
|
Let's give it a try. Thanks @aosmw a lot for the effort! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ament_vendor has ament_environment_hooks that setup the LD_LIBRARY_PATH and PYTHONPATH properly for a ROS2 workspace.
I figured out how to use https://github.com/jspricke/ros-deb-builder-action which I had to patch to allow the sbuild tool that it uses, to access the network (Use ExternalProject/FetchContent). See https://github.com/aosmw/ros-deb-builder-action/tree/feature/mw/enable_network
I then figured out the minor patch required to ortools so that it will build under strict dpkg-buildflags conditions.
Here is the github action running on my fork of ortools_vendor which should give confidence that a debian package is being produced.
https://github.com/aosmw/ortools_vendor/actions
There are options to upload the debian package and even serve it but I have not enabled those.
I have also run the action steps locally and have successfully run a Filelds2Cover build using using the debian package it produces. (on ubuntu 22.04 humble so far)