forked from coal-library/coal
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.4 KB
/
ros_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
33
34
35
36
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
name: ROS-CI
# This determines when this workflow is run
on: [push, pull_request] # on all pushes and PRs
jobs:
CI:
strategy:
matrix:
env:
- {ROS_DISTRO: melodic}
- {ROS_DISTRO: noetic, BUILDER: catkin_tools}
#- {ROS_DISTRO: noetic, BUILDER: catkin_tools, ADDITIONAL_DEBS: clang, CC: clang, CXX: clang++}
- {ROS_DISTRO: foxy}
#- {ROS_DISTRO: galactic} ## Activate once eigenpy released to galactic
- {ROS_DISTRO: foxy, PRERELEASE: true}
#- {ROS_DISTRO: galactic, PRERELEASE: true} ## Activate once eigenpy released to galactic
env:
AFTER_RUN_TARGET_TEST: 'cd /root/target_ws/build/hpp-fcl && make test'
CCACHE_DIR: /github/home/.ccache # Enable ccache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# 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 }}