Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions .github/workflows/colcon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,34 @@ on:
pull_request:
branches:
- '*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-test:
name: build-test (${{ matrix.config.rosdistro }}, ${{ matrix.config.ros_repo }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- {rosdistro: 'rolling', container: 'rostooling/setup-ros-docker:ubuntu-noble-ros-rolling-desktop-latest'}
container:
image: ${{ matrix.config.container }}
- {rosdistro: 'lyrical', ros_repo: 'main', skip_keys: ''}
# octomap_rviz_plugins and octomap_server have no Rolling binary on Ubuntu 26.04 yet.
- {rosdistro: 'rolling', ros_repo: 'testing', skip_keys: 'octomap_rviz_plugins octomap_server'}
container:
image: ros:${{ matrix.config.rosdistro }}-ros-base-resolute
steps:
- uses: actions/checkout@v4
with:
path: src/grid_map
- name: Use the ROS testing repository
run: |
sed -i 's|packages.ros.org/ros2/ubuntu|packages.ros.org/ros2-testing/ubuntu|' /etc/apt/sources.list.d/*
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
shell: bash
if: ${{ matrix.config.ros_repo == 'testing' }}
- name: Pull in repos with vcs
run: |
apt-get update
Expand All @@ -32,10 +46,10 @@ jobs:
if: ${{ matrix.config.rosdistro == 'rolling' }}
- name: Install Dependencies with Rosdep
run: |
apt update
rosdep update
apt-get update
rosdep update --rosdistro ${{matrix.config.rosdistro}}
source /opt/ros/${{matrix.config.rosdistro}}/setup.bash
rosdep install --from-paths src --ignore-src -y --skip-keys "slam_toolbox"
rosdep install --from-paths $(colcon list --packages-up-to grid_map --paths-only) --ignore-src -y --rosdistro ${{matrix.config.rosdistro}} --skip-keys "${{matrix.config.skip_keys}}"
shell: bash
- name: Colcon Build (Release)
run: |
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/industrial-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ on:
branches:
- '*'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
industrial_ci:
strategy:
fail-fast: false
matrix:
env:
- {ROS_DISTRO: lyrical, ROS_REPO: main}
- {ROS_DISTRO: lyrical, ROS_REPO: testing}
- {ROS_DISTRO: rolling, ROS_REPO: testing}
- {ROS_DISTRO: rolling, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -32,8 +38,9 @@ jobs:
# We duplicate NAV2's key skipping because I doubt they intend this bespoke file to be used by other CI jobs:
# https://github.com/ros-navigation/navigation2/blob/main/tools/skip_keys.txt
# It also is out of date, so grid_map is just going to skip keys we are sure don't work.
- name: set ROSDEP_SKIP_KEYS to skip nav2 keys
# octomap_rviz_plugins and octomap_server have no Rolling binary on Ubuntu 26.04 yet.
- name: Set ROSDEP_SKIP_KEYS to skip keys without Rolling binaries
if: ${{ matrix.env.ROS_DISTRO == 'rolling' }}
run: echo "ROSDEP_SKIP_KEYS=slam_toolbox" >> $GITHUB_ENV
run: echo "ROSDEP_SKIP_KEYS=slam_toolbox octomap_rviz_plugins octomap_server" >> $GITHUB_ENV
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
Loading