- Notifications
You must be signed in to change notification settings - Fork0
Create ROS2 debian packages
License
automatika-robotics/create-ros-debs-action
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thecreate-ros-debs-action GitHub Action automates the process of creating installable Debian (deb) packages from a source repository containing a ROS2 package. It supports multiple versions of ROS2, allowing you to generate deb files for different distributions like Humble, Iron, Jazzy, etc. This action can be used for your internal CI pipelines and to create installable debs for self-hosted PPAs.
- Multi-version Support: Generate deb files for specified or all non-EOL (End-of-Life) ROS 2 distributions.
- Docker-based Workflow: Utilizes Docker to ensure consistent build environments across different platforms.
To usecreate-ros-debs-action in your GitHub repository, add the following step to your workflow file (e.g.,.github/workflows/create_debs.yml):
name:Create ROS2 Debson:push:branches: -mainworkflow_dispatch:jobs:create_debs:runs-on:ubuntu-lateststeps: -uses:actions/checkout@v4 -uses:automatika-robotics/create-ros-debs-action@v2with:source-dir-name:'.'# Optional, default is '.'target-dir-name:'debs'# Optional, default is 'debs'ros-versions-matrix:'humble iron jazzy'# Optional, this parameter is a space separated list of strings. Defaults to non-EOL ROS2 versions -uses:actions/upload-artifact@v3with:name:ros2-debspath:debs# Assuming 'debs' is your target-dir-name
| Input | Description | Required | Default Value |
|---|---|---|---|
source-dir-name | Name of the directory withpackage.xml. Defaults to root directory. | No | . |
target-dir-name | Name of the directory for storing generated deb files. Defaults todebs. | No | 'debs' |
ros-versions-matrix | Space separated strings of ROS2 version names. e.g.'humble iron jazzy'. Defaults to versions which have not reached End-of-Life, checkhttps://endoflife.date/api/ros-2.json. | No | Non-EOL ROS2 versions (as per API) |
All contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue in therepository.
Happy building! 🚀
About
Create ROS2 debian packages
Resources
License
Uh oh!
There was an error while loading.Please reload this page.