|
1 | | -name: ros-ci |
| 1 | +# The name of the workflow |
| 2 | +name: CI |
2 | 3 |
|
3 | | -# Controls when the action will run. Triggers the workflow on push or pull request |
| 4 | +# Specifies the events that trigger the workflow |
4 | 5 | on: |
5 | 6 | push: |
6 | | - branches: [ humble ] |
| 7 | + branches: [ main, humble, jazzy ] |
7 | 8 | pull_request: |
8 | | - branches: [ humble ] |
| 9 | + branches: [ main, humble, jazzy ] |
9 | 10 |
|
10 | | -# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
| 11 | +# Defines a set of jobs to be run as part of the workflow |
11 | 12 | jobs: |
12 | | - humble: |
| 13 | + # The name of the job |
| 14 | + ROS_CI: |
13 | 15 | runs-on: ubuntu-22.04 |
14 | 16 | strategy: |
15 | 17 | fail-fast: false |
16 | 18 | matrix: |
17 | 19 | ros_distribution: |
18 | 20 | - humble |
| 21 | + - jazzy |
| 22 | + - rolling |
19 | 23 | include: |
| 24 | + # ROS 2 Humble Hawksbill |
20 | 25 | - docker_image: ubuntu:jammy |
21 | 26 | ros_distribution: humble |
22 | 27 | ros_version: 2 |
23 | | - # # Rolling |
24 | | - # - docker_image: ubuntu:jammy |
25 | | - # ros_distribution: rolling |
26 | | - # ros_version: 2 |
| 28 | + # ROS 2 Jazzy Jalisco |
| 29 | + - docker_image: ubuntu:noble |
| 30 | + ros_distribution: jazzy |
| 31 | + ros_version: 2 |
| 32 | + # ROS 2 Rolling Ridley |
| 33 | + - docker_image: ubuntu:noble |
| 34 | + ros_distribution: rolling |
| 35 | + ros_version: 2 |
27 | 36 | container: |
28 | 37 | image: ${{ matrix.docker_image }} |
29 | 38 | steps: |
30 | | - - name: Setup directories |
| 39 | + - name: Setup workspace |
31 | 40 | run: mkdir -p ros_ws/src |
32 | | - - name: checkout |
33 | | - uses: actions/checkout@v3 |
| 41 | + |
| 42 | + - name: Checkout code |
| 43 | + uses: actions/checkout@v4 |
34 | 44 | with: |
35 | 45 | path: ros_ws/src |
| 46 | + |
36 | 47 | - name: Setup ROS environment |
37 | | - uses: ros-tooling/setup-ros@0.7.1 |
| 48 | + uses: ros-tooling/setup-ros@v0.7 |
38 | 49 | with: |
39 | 50 | required-ros-distributions: ${{ matrix.ros_distribution }} |
| 51 | + |
40 | 52 | - name: Build and Test |
41 | | - uses: ros-tooling/action-ros-ci@0.3.5 |
| 53 | + uses: ros-tooling/action-ros-ci@v0.3 |
42 | 54 | with: |
43 | | - package-name: dynamixel_hardware_interface |
44 | 55 | target-ros2-distro: ${{ matrix.ros_distribution }} |
45 | 56 | vcs-repo-file-url: "https://raw.githubusercontent.com/ROBOTIS-GIT/dynamixel_hardware_interface/main/dynamixel_hardware_interface_ci.repos" |
| 57 | + package-name: dynamixel_hardware_interface |
0 commit comments