Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Initial commit of nearly empty template project. #1

Initial commit of nearly empty template project.

Initial commit of nearly empty template project. #1

Workflow file for this run

name: ros2
on:
push:
paths:
- ".github/workflows/ros2.yml"
- "include/**"
- "launch/**"
- "src/**"
- "CMakeLists.txt"
- "package.xml"
pull_request:
paths:
- ".github/workflows/ros2.yml"
- "include/**"
- "launch/**"
- "src/**"
- "CMakeLists.txt"
- "package.xml"
env:
BUILD_TYPE: Release
jobs:
build:
name: Build on ros2 ${{ matrix.ros_distro }}
runs-on: ubuntu-22.04
strategy:
matrix:
ros_distro: [ humble ]
steps:
- name: Install mp-units
uses: lxrobotics/install-mp-units@main
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: ${{ matrix.ros_distro }}
- name: Setup ros2 workspace
run: |
mkdir -p ${{github.workspace}}/ros2_ws/src
- uses: actions/checkout@v4
with:
path: 'ros2_ws/src/robotem-rovne'
- name: colcon build
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
cd ${{github.workspace}}/ros2_ws
colcon build --event-handlers console_direct+