Add industrial CI #2
Workflow file for this run
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: Industrial CI | |
# Use industrial CI to ensure our packages express all dependencies. | |
# Attempts to find issues like #490 before merge. | |
# https://github.com/ros-industrial/industrial_ci?tab=readme-ov-file#for-github-actions | |
on: | |
push: | |
branches: | |
- 'rolling' | |
- 'jazzy' | |
- 'iron' | |
- 'humble' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
industrial_ci: | |
strategy: | |
matrix: | |
env: | |
- {ROS_DISTRO: rolling, ROS_REPO: testing} | |
- {ROS_DISTRO: rolling, ROS_REPO: main} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# nav2 on rolling is not available with binaries | |
- name: Set UPSTREAM_WORKSPACE to bring in nav2 as a source dependency | |
if: ${{ matrix.env.ROS_DISTRO == 'rolling' }} | |
run: echo "UPSTREAM_WORKSPACE=https://raw.githubusercontent.com/ANYbotics/grid_map/rolling/tools/ros2_dependencies.repos" >> $GITHUB_ENV | |
- uses: 'ros-industrial/industrial_ci@master' | |
env: ${{matrix.env}} |