Skip to content

Merge pull request #13 from PepperlFuchs/feature/ros2-jazzy-adaption #44

Merge pull request #13 from PepperlFuchs/feature/ros2-jazzy-adaption

Merge pull request #13 from PepperlFuchs/feature/ros2-jazzy-adaption #44

Workflow file for this run

# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
name: CI
on: [push, pull_request] # on all pushes and PRs
jobs:
industrial_ci:
strategy:
matrix:
env:
- {ROS_DISTRO: foxy, ROS_REPO: testing}
- {ROS_DISTRO: foxy, CATKIN_LINT: true}
- {ROS_DISTRO: foxy, CLANG_FORMAT_CHECK: file}
- {ROS_DISTRO: galactic}
- {ROS_DISTRO: humble}
- {ROS_DISTRO: iron}
env:
CCACHE_DIR: /github/home/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}