Skip to content

Update yarp-devices-ros2 installation documentation #13

Update yarp-devices-ros2 installation documentation

Update yarp-devices-ros2 installation documentation #13

Workflow file for this run

name: CI workflow
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
path: src/xcub-moveit2
- name: Build Docker Image
uses: docker/build-push-action@v2
with:
tags: xcub-moveit2:latest
file: Dockerfile
push: false
- name: Build ros2 packages
uses: addnab/docker-run-action@v3
with:
image: xcub-moveit2:latest
options: -v ${{github.workspace}}/:/ros2_ws/
run: |
cd ros2_ws
. /opt/ros/humble/setup.sh
if colcon build; then
. install/setup.sh
else
echo "Compilation failed"
exit 1
fi