Skip to content

test_rclcpp in ci

test_rclcpp in ci #343

Workflow file for this run

name: build
on:
pull_request:
push:
branches: [ rolling ]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: ['iron', 'jazzy', 'rolling']
container:
image: ros:${{ matrix.distro }}-ros-base
timeout-minutes: 30
steps:
- name: Deps
run: |
apt update && apt install -y curl
- uses: actions/checkout@v2
- name: Clone system_tests
run: |
git clone https://github.com/ros2/system_tests.git -b ${{ matrix.distro }}
- name: rosdep
run: |
rosdep update
rosdep install --from-paths . -yir
- name: build_rmw
run: /ros_entrypoint.sh colcon build --packages-up-to rmw_zenoh_cpp
- name: build_tests
run: |
source install/setup.bash
/ros_entrypoint.sh colcon build --packages-up-to test_rclcpp
- name: test
run: |
source install/setup.bash
/ros_entrypoint.sh launch_test rmw_zenoh_cpp/test/test_rclcpp_launch.py