cross_compile
cross_compile copied to clipboard
Create a GH Action that runs cross-compile
Description
The cross-compile workflow can be simplified by having a GH Action run cross-compile and upload the workspace as an artifact.
The intended output of this issue is to release a GitHub Action to the marketplace that ROS workspace repositories can use to run this tool to cross-compile the workspace and upload the artifacts.
Related Issues
N/A
Completion Criteria
- A ROS github repository can use a GitHub Action from the marketplace to cross-compile their package to any platform supported by this tool, and download the built artifact when it is done.
Implementation Notes / Suggestions
Not filled out
Testing Notes / Suggestions
- Integration+Manual Testing:
- Add cross-compile GH action to a simple ROS2 project repo on GitHub
- Verify (manually) that the ws image is valid
We already have an e2e test. We just need to enable it I guess? We don't need a separate logic from colcon test
for that.
This isn't adding an e2e test, its creating a new github action for the marketplace to run cross_compile
as a CICD step.
Oh I get what you're saying now, how do you upload the ws, seems too big to be an artefact, does that incorporate pushing the docker image to the GitHub registry?