Skip to content

Commit

Permalink
Add clang format testing action to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NithishkumarS committed Nov 24, 2023
1 parent 3c2c44a commit 2a303a0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/industrial_ci_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,21 @@ jobs:
CCACHE_DIR: /github/home/.ccache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
- uses: actions/checkout@v4.1.1
- uses: actions/cache@v3.3.2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}

clang-format-check:
strategy:
matrix:
env:
- {OS_NAME: ubuntu, OS_CODE_NAME: focal, ROS_DISTRO: noetic, DOCKER_IMAGE: "samxl/scancontrol:sdk_v1.0.0", CLANG_FORMAT_CHECK: "file", CLANG_FORMAT_VERSION: '10'}
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}

0 comments on commit 2a303a0

Please sign in to comment.