Merge pull request #23 from KumarRobotics/feature/cmake-install #29
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: Jazzy CI | |
| on: | |
| push: | |
| branches: [ ros2 ] | |
| pull_request: | |
| branches: [ ros2 ] | |
| jobs: | |
| unit-tests-jazzy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build Docker image with dependencies | |
| run: cd docker && bash build-jazzy.bash | |
| - name: Run unit test in Docker | |
| run: | | |
| docker run --rm -v $(pwd):/workspace -w /workspace \ | |
| glider-ros:jazzy \ | |
| bash -c "cd glider && cmake -S . -B build -DBUILD_TESTS=ON \ | |
| && cd build && cmake --build . && ctest --output-on-failure" |