Update ROS examples to ROS Kilted version #160
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: 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:kilted-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-venv pipx | |
| pipx install conan | |
| chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh | |
| chmod +x ./examples/tools/ros/rosenv/navigation_ws/test_ros.sh | |
| - name: Run printer example | |
| shell: bash | |
| run: | | |
| cd examples/tools/ros/rosenv/workspace | |
| ./test_ros.sh | |
| - name: Run navigator example | |
| shell: bash | |
| run: | | |
| cd examples/tools/ros/rosenv/navigation_ws | |
| ./test_ros.sh | |
| test_conan_develop2: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: osrf/ros:kilted-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-venv pipx | |
| pipx install git+https://github.com/conan-io/conan.git | |
| chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh | |
| chmod +x ./examples/tools/ros/rosenv/navigation_ws/test_ros.sh | |
| - name: Run printer example | |
| shell: bash | |
| run: | | |
| cd examples/tools/ros/rosenv/workspace | |
| ./test_ros.sh | |
| - name: Run navigator example | |
| shell: bash | |
| run: | | |
| cd examples/tools/ros/rosenv/navigation_ws | |
| ./test_ros.sh |