update github CI #12
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: | |
- raptor_api_interfaces | |
- haption_raptor_api | |
- 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 libgomp1-dev | |
# 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 |