forked from rm-controls/rm_control
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 1.05 KB
/
industrial_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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)
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/checkout@v2
with:
repository: 'rm-controls/rm_description'
path: 'rm_description'
- 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:
ROS_DISTRO: ${{ matrix.env.ROS_DISTRO }}
ROS_REPO: ${{ matrix.env.ROS_REPO }}