Skip to content

Commit

Permalink
ci: add ROS
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Aug 26, 2024
1 parent 9690af3 commit 3795ac8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci-linux-ros.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI - Linux - ROS
on: [push, pull_request]

jobs:
CI:
strategy:
matrix:
env:
- {ROS_DISTRO: noetic, BUILDER: catkin_tools, CTEST_OUTPUT_ON_FAILURE: ON}
- {ROS_DISTRO: rolling}
- {ROS_DISTRO: jazzy}
- {ROS_DISTRO: iron}
- {ROS_DISTRO: humble}
env:
CCACHE_DIR: /github/home/.ccache # Enable ccache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v3
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@d23b9ad2c63bfad638a2b1fe3df34b8df9a2f17b'
env: ${{ matrix.env }}

0 comments on commit 3795ac8

Please sign in to comment.