-
Notifications
You must be signed in to change notification settings - Fork 64
70 lines (59 loc) · 1.82 KB
/
ros-tests.yml
File metadata and controls
70 lines (59 loc) · 1.82 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: ROS and Conan Integration Test
on:
push:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}
pull_request:
branches:
- main
paths:
- examples/tools/ros/**
jobs:
test_conan_release:
runs-on: ubuntu-latest
container:
image: osrf/ros:kilted-desktop
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure environment and install Conan release
run: |
apt-get update && apt-get install -y python3 python3-pip python3-venv pipx ros-kilted-nav2-msgs
pipx install conan
chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh
chmod +x ./examples/tools/ros/rosenv/navigation_ws/test_ros.sh
- name: Run printer example
shell: bash
run: |
cd examples/tools/ros/rosenv/workspace
./test_ros.sh
- name: Run navigator example
shell: bash
run: |
cd examples/tools/ros/rosenv/navigation_ws
./test_ros.sh
test_conan_develop2:
runs-on: ubuntu-latest
container:
image: osrf/ros:kilted-desktop
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure environment and install Conan from develop2 branch
run: |
apt-get update && apt-get install -y python3 python3-pip python3-venv pipx ros-kilted-nav2-msgs
pipx install git+https://github.com/conan-io/conan.git
chmod +x ./examples/tools/ros/rosenv/workspace/test_ros.sh
chmod +x ./examples/tools/ros/rosenv/navigation_ws/test_ros.sh
- name: Run printer example
shell: bash
run: |
cd examples/tools/ros/rosenv/workspace
./test_ros.sh
- name: Run navigator example
shell: bash
run: |
cd examples/tools/ros/rosenv/navigation_ws
./test_ros.sh