Link rclcpp_action if required #50
Workflow file for this run
This file contains 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: REDF CI | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
docker_image: ['ros:humble-ros-base'] | |
container: | |
image: ${{ matrix.docker_image }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install rustup dependencies | |
run: | | |
apt update | |
apt install -y curl | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
- name: rosdep | |
run: | | |
rosdep update | |
rosdep resolve -q ament_cmake std_msgs example_interfaces rclcpp rclcpp_action | sed '/^#/d' | xargs sudo apt install -y | |
- name: cargo test | |
run: . /ros_entrypoint.sh && cargo test |