cross_compile icon indicating copy to clipboard operation
cross_compile copied to clipboard

Create a GH Action that runs cross-compile

Open zmichaels11 opened this issue 5 years ago • 4 comments

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

zmichaels11 avatar Nov 21 '19 17:11 zmichaels11

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.

thomas-moulard avatar Nov 21 '19 17:11 thomas-moulard

This isn't adding an e2e test, its creating a new github action for the marketplace to run cross_compile as a CICD step.

zmichaels11 avatar Nov 21 '19 17:11 zmichaels11

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?

thomas-moulard avatar Nov 21 '19 18:11 thomas-moulard