m-explore-ros2/.github/workflows/build_test.yaml

33 lines
1.0 KiB
YAML
Raw Normal View History

name: ROS2 build/tests
on:
pull_request:
jobs:
build_and_tests:
runs-on: ubuntu-latest
steps:
- uses: ros-tooling/setup-ros@v0.3
with:
required-ros-distributions: galactic
- name: Checkout repository
uses: actions/checkout@v3
- uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: multirobot_map_merge
target-ros2-distro: galactic
skip-tests: true
- name: Run gtests manually multirobot_map_merge
run: |
source /opt/ros/galactic/setup.sh && source ros_ws/install/setup.sh
cd ros_ws/build/multirobot_map_merge
./test_merging_pipeline
- uses: ros-tooling/action-ros-ci@v0.2
with:
package-name: explore_lite
target-ros2-distro: galactic
skip-tests: true
- name: Run gtests manually explore_lite
run: |
source /opt/ros/galactic/setup.sh && source ros_ws/install/setup.sh
cd ros_ws/build/explore_lite
./test_explore