-
Notifications
You must be signed in to change notification settings - Fork 34
53 lines (52 loc) · 1.89 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build_and_test:
runs-on: ubuntu-latest
env:
ROS_DISTRO: ${{ matrix.ros_distro }}
RMW_IMPLEMENTATION: rmw_cyclonedds_cpp
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
strategy:
fail-fast: false
matrix:
ros_distro: [rolling]
steps:
- uses: actions/checkout@v2
- name: Install Cyclone DDS
run: sudo apt install ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp -y
- name: Install geometry_msgs
run: sudo apt install ros-${{ matrix.ros_distro }}-geometry-msgs -y
- name: Install nav_msgs
run: sudo apt install ros-${{ matrix.ros_distro }}-nav-msgs -y
- name: Install rosidl-default-generators
run: sudo apt install ros-${{ matrix.ros_distro }}-rosidl-default-generators -y
- name: Install geographic_msgs
run: sudo apt install ros-${{ matrix.ros_distro }}-geographic-msgs -y
- name: Install bondcpp
run: sudo apt install ros-${{ matrix.ros_distro }}-bondcpp -y
- name: Install angles
run: sudo apt install ros-${{ matrix.ros_distro }}-angles -y
- name: Install test_msgs
run: sudo apt install ros-${{ matrix.ros_distro }}-test-msgs -y
- name: Install behaviortree_cpp
run: sudo apt install ros-${{ matrix.ros_distro }}-behaviortree-cpp -y
- name: Install diagnostic_updater
run: sudo apt install ros-${{ matrix.ros_distro }}-diagnostic-updater -y
- name: Build and run tests
id: action-ros-ci
uses: ros-tooling/[email protected]
with:
import-token: ${{ secrets.GITHUB_TOKEN }}
target-ros2-distro: ${{ matrix.ros_distro }}
vcs-repo-file-url: "${{ github.workspace }}/.github/deps.repos"
rosdep-check: true
- uses: actions/upload-artifact@v1
with:
name: colcon-logs
path: ros_ws/log