Major refactor: #11
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
name: Humble CI | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
humble_source: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
package-name: | |
- test_calibration | |
- test_admittance | |
- test_impedance | |
- haptic_control | |
steps: | |
# Step 1: Set up ROS Humble | |
- name: Setup ROS Humble | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: humble | |
# Step 2: Install additional dependencies | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install -y libpciaccess-dev libomp-dev | |
# Step 3: Clone and build Open3D with caching | |
- name: Cache Open3D Build | |
uses: actions/cache@v3 | |
with: | |
path: Open3D/build | |
key: ${{ runner.os }}-open3d-${{ hashFiles('Open3D/**') }} | |
- name: Clone and Build Open3D | |
run: | | |
git clone https://github.com/isl-org/Open3D || true | |
cd Open3D | |
source util/install_deps_ubuntu.sh || exit 1 | |
mkdir -p build && cd build | |
cmake .. || exit 1 | |
make -j$(nproc) || exit 1 | |
sudo make install || exit 1 | |
# Step 4: Build and process each ROS package | |
- name: Build and Process ROS Package | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: ${{ matrix.package-name }} | |
target-ros2-distro: humble | |
skip-tests: true |