-
Notifications
You must be signed in to change notification settings - Fork 43
45 lines (45 loc) · 1.13 KB
/
build.yaml
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
name: build
on:
pull_request:
push:
branches: [ rolling ]
workflow_dispatch:
env:
RMW_IMPLEMENTATION: rmw_zenoh_cpp
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
docker_image: ['ros:iron-ros-base', 'ros:rolling-ros-base']
container:
image: ${{ matrix.docker_image }}
timeout-minutes: 30
steps:
- name: Deps
run: |
apt update && apt install -y curl
- name: Setup Rust
uses: dtolnay/[email protected]
- uses: actions/checkout@v2
- name: Clone system_tests
run: |
git clone https://github.com/ros2/system_tests.git
- name: rosdep
run: |
rosdep update
rosdep install --from-paths . -yir
- name: build_rmw
run: /ros_entrypoint.sh colcon build --packages-up-to rmw_zenoh_cpp
- name: build_tests
run: |
source install/setup.bash
/ros_entrypoint.sh colcon build --packages-up-to test_rclcpp
- name: test
run: |
source install/setup.bash
/ros_entrypoint.sh launch_test rmw_zenoh_cpp/test/test_rclcpp_launch.py