Split examples and launch files into rclcpp_async_example package #71
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ros_distro: [jazzy, rolling] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up workspace | |
| run: | | |
| mkdir -p ws/src | |
| ln -s ../../rclcpp_async ws/src/rclcpp_async | |
| ln -s ../../rclcpp_async_example ws/src/rclcpp_async_example | |
| - name: Build and test | |
| run: | | |
| ROS_DISTRO=${{ matrix.ros_distro }} ./run.sh bash -c \ | |
| "source /opt/ros/\$ROS_DISTRO/setup.bash \ | |
| && colcon build --event-handlers console_direct+ \ | |
| && source install/setup.bash \ | |
| && colcon test --event-handlers console_direct+ \ | |
| && colcon test-result --verbose" |