Skip to content
play

GitHub Action

colcon-action

v6 Latest version

colcon-action

play

colcon-action

Simple action to build workspace using colcon

Installation

Copy and paste the following snippet into your .yml file.

              

- name: colcon-action

uses: tesseract-robotics/colcon-action@v6

Learn more about this action in tesseract-robotics/colcon-action

Choose a version

colcon-action

colcon-action is a simple action to build workspace leveraging colcon build tool

Usage

- uses: tesseract-robotics/colcon-action@v5
  with:
    # Script that runs before anything else in build steps (optional, default: '')
    before-script: ''
    # CCache key prefix component (optional, default: '')
    ccache-prefix: ''
    # Enable/Disable ccache (optional, default: 'true')
    ccache-enabled: 'true'
    # Indicate if rosdep should be used (optional, default: 'true')
    rosdep-enabled: 'true'
    # Additional args to pass to rosdep install (optional, default: '-r')
    rosdep-install-args: '-r'
    # Indicate if ROS PPA should be added (optional, default: 'false')
    ros-enabled: 'false'
    # The relative path to the vcs repos file (optional, default: '')
    vcs-file: 'dependencies.repos'
    # Additional args to pass to colcon build for upstream workspace (optional, default: '')
    upstream-args: '--cmake-args -DCMAKE_BUILD_TYPE=Release'
    # Relative path under $GITHUB_WORKSPACE where the repository was placed (optional, default: '')
    target-path: ''
    # Additional args to pass to colcon build for target workspace (optional, default: '')
    target-args: '--cmake-args -DCMAKE_BUILD_TYPE=Debug'
    # Indicate if test should be ran (optional, default: 'true')
    run-tests: 'true'
    # Additional args to pass to colcon test for target workspace (optional, default: '')
    run-tests-args: ''