Skip to content

Update with real life testing code (#78) #308

Update with real life testing code (#78)

Update with real life testing code (#78) #308

Workflow file for this run

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: python3 -m pip install -r requirements.txt
- name: Install system dependencies
run: |
apt-get update
bash 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 \
--packages-skip zed_components zed_debug zed_ros2 zed_wrapper obstacle_detection athena_sensors nav_bringup
shell: bash