Repository navigation
Added obstacle detection code (#16) #62
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: ROS2 Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| container: | |
| image: ros:humble-ros-base | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| apt-get update | |
| apt-get install -y python3-colcon-common-extensions | |
| rosdep update | |
| rosdep install --from-paths . --ignore-src -r -y | |
| shell: bash | |
| - name: Build workspace | |
| run: | | |
| source /opt/ros/humble/setup.bash | |
| colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release | |
| shell: bash |