-
Notifications
You must be signed in to change notification settings - Fork 34
34 lines (33 loc) · 914 Bytes
/
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
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-noble-latest
strategy:
fail-fast: false
matrix:
ros_distro: [jazzy]
steps:
- uses: actions/checkout@v2
- name: Install Cyclone DDS
run: sudo apt install ros-${{ matrix.ros_distro }}-rmw-cyclonedds-cpp -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"
- uses: actions/upload-artifact@v4
with:
name: colcon-logs
path: ros_ws/log