feat: UR5 Integration #597
Workflow file for this run
This file contains hidden or 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: Cpp | |
| on: | |
| workflow_call: | |
| pull_request: | |
| paths: | |
| - "src/**" | |
| - ".github/workflows/**" | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build_clang: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt install $(cat debian_deps.txt) | |
| - name: Check clang format | |
| run: make cppcheckformat | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: Clang build | |
| run: make clangcompile | |
| - name: Clang Tidy | |
| run: clang-tidy -p=build --warnings-as-errors='*' $(find src -name '*.cpp' -o -name '*.cc' -name '*.h') | |
| build_gcc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt install $(cat debian_deps.txt) | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| cache: "pip" | |
| - name: GCC build | |
| run: make gcccompile |