-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
17 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,14 +23,14 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
ros_distro: [rolling, humble, galactic, foxy] | ||
ros_distro: [rolling, iron, humble] | ||
include: | ||
- ros_distro: 'rolling' | ||
os: ubuntu-22.04 | ||
- ros_distro: 'humble' | ||
os: ubuntu-22.04 | ||
- ros_distro: 'iron' | ||
os: ubuntu-22.04 | ||
- ros_distro: 'humble' | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
|
||
|
@@ -48,24 +48,15 @@ jobs: | |
cd ${{github.workspace}}/ros2/src/realsense-ros/scripts | ||
./pr_check.sh | ||
# Workaround - forcing cmake 3.23.0 instead of using latest cmake of GHA. | ||
# cmake 3.24.0 is not compaitable with galactic/foxy/humble ament_cmake | ||
# see: https://github.com/ament/ament_cmake/pull/395 | ||
# TODO: remove this step once ament_cmake for galactic/foxy/humble is released | ||
- name: Setup cmake 3.23.0 | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.23.0' | ||
|
||
- name: build ROS2 | ||
uses: ros-tooling/setup-ros@v0.3 | ||
uses: ros-tooling/setup-ros@v0.6 | ||
with: | ||
required-ros-distributions: ${{ matrix.ros_distro }} | ||
|
||
- name: Build RealSense SDK 2.0 from source | ||
run: | | ||
cd ${{github.workspace}} | ||
git clone https://github.com/IntelRealSense/librealsense.git -b master | ||
git clone https://github.com/IntelRealSense/librealsense.git -b development | ||
cd librealsense | ||
sudo mkdir build | ||
cd build | ||
|
@@ -75,7 +66,7 @@ jobs: | |
sudo make -j10 | ||
sudo make install | ||
- name: Build | ||
- name: Build RealSense ROS2 Wrapper | ||
run: | | ||
echo "source /opt/ros/${{ matrix.ros_distro }}/setup.bash" >> ${{github.workspace}}/.bashrc | ||
source ${{github.workspace}}/.bashrc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters