Skip to content

refactor(eagleye_rt): convert all nodes to class-based rclcpp::Node #374

refactor(eagleye_rt): convert all nodes to class-based rclcpp::Node

refactor(eagleye_rt): convert all nodes to class-based rclcpp::Node #374

Workflow file for this run

name: build
on: pull_request
jobs:
build:
strategy:
matrix:
include:
- ros_distro: humble
os: ubuntu-22.04
geographiclib_pkg: libgeographic-dev geographiclib-tools geographiclib-doc
- ros_distro: jazzy
os: ubuntu-24.04
geographiclib_pkg: libgeographiclib-dev geographiclib-tools geographiclib-doc
runs-on: ${{ matrix.os }}
container: ros:${{ matrix.ros_distro }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
path: ros_ws/src/eagleye
- name: Install system dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends \
python3-vcstool \
${{ matrix.geographiclib_pkg }}
- name: Import dependency repos
run: |
cd ros_ws/src
vcs import < eagleye/eagleye.repos
- name: Cache rosdep
uses: actions/cache@v4
with:
path: ~/.ros/rosdep
key: rosdep-${{ matrix.ros_distro }}-${{ hashFiles('ros_ws/src/**/package.xml') }}
restore-keys: rosdep-${{ matrix.ros_distro }}-
- name: rosdep install
run: |
rosdep update
rosdep install --from-paths ros_ws/src --ignore-src -r -y
- name: Cache colcon build
uses: actions/cache@v4
with:
path: |
ros_ws/build
ros_ws/install
key: colcon-${{ matrix.ros_distro }}-${{ hashFiles('ros_ws/src/**/*.cpp', 'ros_ws/src/**/*.hpp', 'ros_ws/src/**/CMakeLists.txt', 'ros_ws/src/**/package.xml') }}
restore-keys: colcon-${{ matrix.ros_distro }}-
- name: Build
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
cd ros_ws
colcon build \
--cmake-args -DCMAKE_BUILD_TYPE=Release \
--catkin-skip-building-tests \
--parallel-workers $(nproc)