Adds Github Action CI. #3
Workflow file for this run
This file contains 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
name: colcon build & test | |
on: | |
push: | |
pull_request: | |
branches: | |
- humble | |
workflow_dispatch: | |
env: | |
ROS_DISTRO: humble | |
jobs: | |
compile_and_test: | |
name: Compile and test | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ros-tooling/[email protected] | |
- uses: ros-tooling/[email protected] | |
id: action_ros_ci_step | |
with: | |
package-name: carpincho_base carpincho_control carpincho_description | |
target-ros2-distro: ${{ env.ROS_DISTRO }} | |
import-token: ${{ secrets.GITHUB_TOKEN }} |