Skip to content

Add ROS yaml-cpp example for blogpost #15

Add ROS yaml-cpp example for blogpost

Add ROS yaml-cpp example for blogpost #15

Workflow file for this run

name: ROS and Conan Integration Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test_conan_release:
runs-on: ubuntu-latest
container:
image: osrf/ros:humble-desktop
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure environment and install Conan release
run: |
apt-get update && apt-get install -y python3 python3-pip
python3 -m pip install conan
chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh
- name: Run example with latest Conan release
shell: bash
run: |
cd examples/tools/ros/rosenv/workspace
./test_ros.sh
test_conan_develop2:
runs-on: ubuntu-latest
container:
image: osrf/ros:humble-desktop
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure environment and install Conan from develop2 branch
run: |
apt-get update && apt-get install -y python3 python3-pip
python3 -m pip install git+https://github.com/conan-io/conan.git
chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh
- name: Run example with Conan from repo
shell: bash
run: |
cd examples/tools/ros/rosenv/workspace
./test_ros.sh
- name: Run example with Conan from repo 2
shell: bash
run: |
cd examples/tools/ros/rosenv/workspace2
./test_ros.sh