Skip to content

Commit 3b1a795

Browse files
Add industrial CI (#492) (#501)
Add industrial CI * Bring nav2 in from source on rolling * Skip rosdep keys in nav2 that don't resolve Signed-off-by: Ryan Friedman <[email protected]> (cherry picked from commit c313843) Co-authored-by: Ryan <[email protected]>
1 parent 067b702 commit 3b1a795

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/industrial-ci.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Industrial CI
2+
3+
# Use industrial CI to ensure our packages express all dependencies.
4+
# Attempts to find issues like #490 before merge.
5+
# https://github.com/ros-industrial/industrial_ci?tab=readme-ov-file#for-github-actions
6+
7+
on:
8+
push:
9+
branches:
10+
- 'iron'
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
industrial_ci:
17+
strategy:
18+
matrix:
19+
env:
20+
- {ROS_DISTRO: iron, ROS_REPO: testing}
21+
- {ROS_DISTRO: iron, ROS_REPO: main}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v4
25+
# nav2 on rolling is not available with binaries
26+
- name: Set UPSTREAM_WORKSPACE to bring in nav2 as a source dependency
27+
if: ${{ matrix.env.ROS_DISTRO == 'rolling' }}
28+
run: echo "UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ANYbotics/grid_map/rolling/tools/ros2_dependencies.repos" >> $GITHUB_ENV
29+
# We duplicate NAV2's key skipping because I doubt they intend this bespoke file to be used by other CI jobs:
30+
# https://github.com/ros-navigation/navigation2/blob/main/tools/skip_keys.txt
31+
# It also is out of date, so grid_map is just going to skip keys we are sure don't work.
32+
- name: set ROSDEP_SKIP_KEYS to skip nav2 keys
33+
if: ${{ matrix.env.ROS_DISTRO == 'rolling' }}
34+
run: echo "ROSDEP_SKIP_KEYS=slam_toolbox" >> $GITHUB_ENV
35+
- uses: 'ros-industrial/industrial_ci@master'
36+
env: ${{matrix.env}}

0 commit comments

Comments
 (0)