Repository navigation
Add script for manually installed depenencies #70
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: 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: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install Python dependencies | |
| run: pip install -r requirements.txt | |
| - name: Install system dependencies | |
| run: | | |
| apt-get update | |
| bash ./ci/dependencies.sh | |
| 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 |