Add ROS2 build test #87
Workflow file for this run
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: Style Checks | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
container: | |
- 'px4io/px4-dev-simulation-focal:2020-09-14' | |
container: ${{ matrix.container }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: submodule update | |
run: git submodule update --init --recursive | |
- name: Install clang-format | |
run: apt update && apt install -y clang-format-6.0 | |
- name: Check Code format | |
working-directory: Tools | |
run: | | |
./check_code_format.sh .. |