Skip to content

Commit

Permalink
[CI] Add GitHub Actions CI, addresses ros-teleop#33
Browse files Browse the repository at this point in the history
  • Loading branch information
wxmerkt committed Oct 13, 2022
1 parent 7cee02c commit aabe5af
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/industrial_ci_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on: [push, pull_request]

jobs:
CI:
strategy:
matrix:
env:
- {ROS_DISTRO: melodic}
- {ROS_DISTRO: noetic}
env:
CCACHE_DIR: /github/home/.ccache # Enable ccache
PRERELEASE: true
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 }}

0 comments on commit aabe5af

Please sign in to comment.