Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ jobs:
strategy:
fail-fast: false
matrix:
ros_distro: [humble, galactic, foxy, eloquent, dashing]
ros_distro: [rolling, humble, galactic, foxy, eloquent, dashing]
include:
- ros_distro: 'rolling'
os: ubuntu-22.04
- ros_distro: 'humble'
os: ubuntu-22.04
- ros_distro: 'galactic'
Expand Down Expand Up @@ -67,29 +69,31 @@ jobs:
## See: 1) https://github.com/ros-tooling/setup-ros#Supported-platforms
## 2) https://github.com/ros-tooling/setup-ros/tree/v0.2#Supported-platforms
- name: build ROS2 Galactic/Foxy/Eloquent/Dashing
if: ${{ matrix.ros_distro != 'humble'}}
if: ${{ matrix.ros_distro != 'humble' && matrix.ros_distro != 'rolling'}}
uses: ros-tooling/setup-ros@v0.2
with:
required-ros-distributions: ${{ matrix.ros_distro }}

- name: build ROS2 Humble
if: ${{ matrix.ros_distro == 'humble' }}
if: ${{ matrix.ros_distro == 'humble' || matrix.ros_distro == 'rolling' }}
uses: ros-tooling/setup-ros@v0.3
with:
required-ros-distributions: ${{ matrix.ros_distro }}

## For all distros except humble, install RealSense SDK From Debinas
## For Humble distro, install from source (TODO: Change this when we got debians for Humble)
## For all distros except humble and rolling, install RealSense SDK From Debians
## For humble + rolling distros, install from source (TODO: Change this when we have public librealsense2 debians for Ubuntu22)
- name: Install RealSense SDK 2.0 Dependencies
if: ${{ matrix.ros_distro != 'humble' }}
if: ${{ matrix.ros_distro != 'humble' && matrix.ros_distro != 'rolling' }}
run: |
sudo apt-get update
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-key C8B3A55A6F3EFCDE
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main"
sudo apt-get update -qq
sudo apt-get install librealsense2-dev --allow-unauthenticated -y
sudo apt-get update

- name: Build RealSense SDK 2.0 from source
if: ${{ matrix.ros_distro == 'humble' }}
if: ${{ matrix.ros_distro == 'humble' || matrix.ros_distro == 'rolling' }}
run: |
cd ${{github.workspace}}
git clone https://github.com/IntelRealSense/librealsense.git -b master
Expand Down