mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-08 11:07:46 +08:00
* CI: remove conflicting ros2-testing-apt-source before setup-ros (rolling) * fixing rolling testing packages * skip gtsam rolling * cleanup
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
name: CMake-ROS
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
build:
|
|
name: ${{ matrix.ros_distribution }}
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
ros_distribution: [ humble, jazzy, kilted, lyrical, rolling]
|
|
include:
|
|
- ros_distribution: 'humble'
|
|
skip_keys: ""
|
|
- ros_distribution: 'jazzy'
|
|
skip_keys: ""
|
|
- ros_distribution: 'kilted'
|
|
skip_keys: ""
|
|
- ros_distribution: 'lyrical'
|
|
skip_keys: "libpointmatcher"
|
|
- ros_distribution: 'rolling'
|
|
skip_keys: "libpointmatcher gtsam"
|
|
use_ros2_testing: true # Rolling is using ros2-testing (nightly)
|
|
container:
|
|
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-full
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ros-tooling/[email protected]
|
|
with:
|
|
required-ros-distributions: ${{ matrix.ros_distribution }}
|
|
use-ros2-testing: ${{ matrix.use_ros2_testing || false }}
|
|
- uses: ros-tooling/[email protected]
|
|
with:
|
|
package-name: rtabmap
|
|
target-ros2-distro: ${{ matrix.ros_distribution }}
|
|
rosdep-skip-keys: "${{ matrix.skip_keys }}"
|
|
|