-
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.
small fixes in main.yml and package.xml
- Loading branch information
1 parent
598756b
commit d75655e
Showing
2 changed files
with
13 additions
and
9 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 |
---|---|---|
|
@@ -67,17 +67,23 @@ jobs: | |
uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: ${{ matrix.ros_distro }} | ||
|
||
- name: Build RealSense SDK 2.0 (development branch) from source | ||
|
||
- name: Checkout librealsense/development | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: IntelRealSense/librealsense | ||
path: librealsense | ||
ref: development | ||
|
||
|
||
- name: Build RealSense SDK 2.0 (hkr branch) from source | ||
run: | | ||
# libusb-1.0-0-dev is needed for librealsense build in ubuntu 20.04 | ||
# This apt install command will be ignored in ubuntu 22.04 as libusb-1.0-0-dev already installed there | ||
sudo apt install -y libusb-1.0-0-dev | ||
cd ${{github.workspace}} | ||
git clone https://github.com/IntelRealSense/librealsense.git -b development | ||
cd librealsense | ||
cd ${{github.workspace}}/librealsense | ||
sudo mkdir build | ||
cd build | ||
sudo cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=false -DBUILD_GRAPHICAL_EXAMPLES=false | ||
|
@@ -112,7 +118,7 @@ jobs: | |
# bag_filename="https://librealsense.intel.com/rs-tests/D435i_Depth_and_IMU_Stands_still.bag"; | ||
# wget $bag_filename -P "records/" | ||
# sudo apt install ros-${{ matrix.ros_distro}}-launch-pytest | ||
|
||
- name: Install Packages For Foxy Tests | ||
if: ${{ matrix.ros_distro == 'foxy' }} | ||
run: | | ||
|
@@ -138,8 +144,7 @@ jobs: | |
# numpy-quaternion needs numpy<2.0.0. Chose 1.26.4 as it is the lowest working version for ubuntu 24.04. | ||
pip3 install --force-reinstall numpy==1.26.4 | ||
pip3 install numpy-quaternion tqdm pyyaml | ||
|
||
- name: Run Tests | ||
run: | | ||
cd ${{github.workspace}}/ros2 | ||
|
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