Skip to content

Commit

Permalink
update github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydran00 committed Dec 12, 2024
1 parent d87e42c commit 180b5e7
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
strategy:
matrix:
package-name:
- raptor_api_interfaces
- haption_raptor_api
- test_calibration
- test_admittance
- test_impedance
Expand All @@ -24,24 +26,7 @@ jobs:

# 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
run: sudo apt-get update && sudo apt-get install -y libpciaccess-dev libomp-dev libgomp1-dev

# Step 4: Build and process each ROS package
- name: Build and Process ROS Package
Expand Down

0 comments on commit 180b5e7

Please sign in to comment.