Fix base_controller build (#90) #219
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: CI | |
# This determines when this workflow is run | |
on: [push, pull_request, workflow_dispatch] # on all pushes and PRs | |
# or more fine-grained | |
# on: | |
# # When master or melodic-devel branch is pushed to | |
# push: | |
# branches: [ master, melodic-devel ] | |
# # When there is a pull request against master | |
# pull_request: | |
# branches: [ master ] | |
jobs: | |
industrial_ci: | |
strategy: | |
matrix: | |
env: | |
- {ROS_DISTRO: noetic, ROS_REPO: testing} | |
- {ROS_DISTRO: noetic, 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/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 }} |