|
1 |
| -name: ros-ci |
| 1 | +# The name of the workflow |
| 2 | +name: CI |
2 | 3 |
|
| 4 | +# Specifies the events that trigger the workflow |
3 | 5 | on:
|
4 | 6 | push:
|
5 |
| - branches: [ main, jazzy ] |
| 7 | + branches: [ main, jazzy ] |
6 | 8 | pull_request:
|
7 |
| - branches: [ main, jazzy ] |
| 9 | + branches: [ main, jazzy ] |
8 | 10 |
|
| 11 | +# Defines a set of jobs to be run as part of the workflow |
9 | 12 | jobs:
|
10 |
| - ros2-ci: |
11 |
| - runs-on: ubuntu-latest |
| 13 | + # The name of the job |
| 14 | + ROS_CI: |
| 15 | + runs-on: ubuntu-22.04 |
12 | 16 | strategy:
|
13 | 17 | fail-fast: false
|
14 | 18 | matrix:
|
15 | 19 | ros_distribution:
|
| 20 | + # - humble |
16 | 21 | - jazzy
|
| 22 | + # - rolling |
17 | 23 | include:
|
18 |
| - - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-jazzy-ros-base-latest |
| 24 | + # ROS 2 Humble Hawksbill |
| 25 | + # - docker_image: ubuntu:jammy |
| 26 | + # ros_distribution: humble |
| 27 | + # ros_version: 2 |
| 28 | + # ROS 2 Jazzy Jalisco |
| 29 | + - docker_image: ubuntu:noble |
19 | 30 | ros_distribution: jazzy
|
20 | 31 | ros_version: 2
|
| 32 | + # ROS 2 Rolling Ridley |
| 33 | + # - docker_image: ubuntu:noble |
| 34 | + # ros_distribution: rolling |
| 35 | + # ros_version: 2 |
21 | 36 | container:
|
22 | 37 | image: ${{ matrix.docker_image }}
|
23 | 38 | steps:
|
24 |
| - - name: Setup directories |
| 39 | + - name: Setup workspace |
25 | 40 | run: mkdir -p ros_ws/src
|
26 |
| - - name: checkout |
| 41 | + |
| 42 | + - name: Checkout code |
27 | 43 | uses: actions/checkout@v4
|
28 | 44 | with:
|
29 | 45 | path: ros_ws/src
|
| 46 | + |
| 47 | + - name: Setup ROS environment |
| 48 | + uses: ros-tooling/[email protected] |
| 49 | + with: |
| 50 | + required-ros-distributions: ${{ matrix.ros_distribution }} |
| 51 | + |
30 | 52 | - name: Build and Test
|
31 | 53 | uses: ros-tooling/[email protected]
|
| 54 | + |
32 | 55 | with:
|
33 |
| - package-name: open_manipulator |
34 | 56 | target-ros2-distro: ${{ matrix.ros_distribution }}
|
35 | 57 | vcs-repo-file-url: ""
|
| 58 | + package-name: | |
| 59 | + open_manipulator |
| 60 | + open_manipulator_bringup |
| 61 | + open_manipulator_description |
| 62 | + open_manipulator_gui |
| 63 | + open_manipulator_moveit_config |
| 64 | + open_manipulator_playground |
| 65 | + open_manipulator_teleop |
0 commit comments