|
13 | 13 | build:
|
14 | 14 | strategy:
|
15 | 15 | matrix:
|
16 |
| - ros_distro: [rolling, foxy, galactic] |
| 16 | + ros_distribution: |
| 17 | + - foxy |
| 18 | + - galactic |
| 19 | + # - humble |
| 20 | + - rolling |
17 | 21 | include:
|
18 | 22 | # Foxy Fitzroy (June 2020 - May 2023)
|
19 | 23 | - docker_image: rostooling/setup-ros-docker:ubuntu-focal-ros-foxy-ros-base-latest
|
|
24 | 28 | ros_distribution: galactic
|
25 | 29 | ros_version: 2
|
26 | 30 | # Humble Hawksbill (May 2022 - May 2027)
|
27 |
| - - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest |
28 |
| - ros_distribution: humble |
29 |
| - ros_version: 2 |
| 31 | + # - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest |
| 32 | + # ros_distribution: humble |
| 33 | + # ros_version: 2 |
30 | 34 | # Rolling Ridley (June 2020 - Present)
|
31 | 35 | - docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
|
32 | 36 | ros_distribution: rolling
|
|
43 | 47 | echo ::set-output name=package_list::$(colcon list --names-only)
|
44 | 48 |
|
45 | 49 | - name: Setup ROS environment
|
46 |
| - uses: ros-tooling/setup-ros@v0.2 |
| 50 | + uses: ros-tooling/setup-ros@v0.3 |
47 | 51 | with:
|
48 |
| - required-ros-distributions: ${{ matrix.ros_distro }} |
| 52 | + required-ros-distributions: ${{ matrix.ros_distribution }} |
49 | 53 |
|
50 | 54 | - name: Setup Rust
|
51 | 55 | uses: actions-rs/toolchain@v1
|
@@ -77,13 +81,13 @@ jobs:
|
77 | 81 | uses: ros-tooling/[email protected]
|
78 | 82 | with:
|
79 | 83 | package-name: ${{ steps.list_packages.outputs.package_list }}
|
80 |
| - target-ros2-distro: ${{ matrix.ros_distro }} |
81 |
| - vcs-repo-file-url: ros2_rust_${{ matrix.ros_distro }}.repos |
| 84 | + target-ros2-distro: ${{ matrix.ros_distribution }} |
| 85 | + vcs-repo-file-url: ros2_rust_${{ matrix.ros_distribution }}.repos |
82 | 86 |
|
83 | 87 | - name: Run clippy on Rust packages
|
84 | 88 | run: |
|
85 | 89 | cd ${{ steps.build.outputs.ros-workspace-directory-name }}
|
86 |
| - . /opt/ros/${{ matrix.ros_distro }}/setup.sh |
| 90 | + . /opt/ros/${{ matrix.ros_distribution }}/setup.sh |
87 | 91 | for path in $(colcon list | awk '$3 == "(ament_cargo)" { print $2 }'); do
|
88 | 92 | cd $path
|
89 | 93 | echo "Running clippy in $path"
|
|
94 | 98 | - name: Rustdoc check
|
95 | 99 | run: |
|
96 | 100 | cd ${{ steps.build.outputs.ros-workspace-directory-name }}
|
97 |
| - . /opt/ros/${{ matrix.ros_distro }}/setup.sh |
| 101 | + . /opt/ros/${{ matrix.ros_distribution }}/setup.sh |
98 | 102 | for path in $(colcon list | awk '$3 == "(ament_cargo)" && $1 != "examples_rclrs_minimal_pub_sub" { print $2 }'); do
|
99 | 103 | cd $path
|
100 | 104 | echo "Running rustdoc check in $path"
|
|
0 commit comments