0.1.7 #83
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
format_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
CLANG_FORMAT_CHECK: file | |
CLANG_FORMAT_VERSION: "10" | |
industrial_ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
ros_distro: [ melodic, noetic ] | |
ros_repo: [ main, testing ] | |
env: | |
CCACHE_DIR: "${{ github.workspace }}/.ccache" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: ccache cache | |
uses: actions/cache@v2 | |
with: | |
path: ${{ env.CCACHE_DIR }} | |
# we always want the ccache cache to be persisted, as we cannot easily | |
# determine whether dependencies have changed, and ccache will manage | |
# updating the cache for us. Adding 'run_id' to the key will force an | |
# upload at the end of the job. | |
key: ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}-${{github.run_id}} | |
restore-keys: | | |
ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }} | |
- uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: ${{ matrix.ros_distro }} | |
ROS_REPO: ${{ matrix.ros_repo }} |