Skip to content

Merge pull request #176 from liyixin135/master #58

Merge pull request #176 from liyixin135/master

Merge pull request #176 from liyixin135/master #58

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
industrial_ci:
strategy:
matrix:
env:
- { ROS_DISTRO: noetic, ROS_REPO: testing }
- { ROS_DISTRO: noetic, ROS_REPO: main }
- { ROS_DISTRO: melodic, ROS_REPO: testing }
- { ROS_DISTRO: melodic, ROS_REPO: main }
env:
CCACHE_DIR: /github/home/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
UPSTREAM_WORKSPACE: 'github:rm-controls/rm_control#master github:rm-controls/rm_description#master'
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 }}