-
Notifications
You must be signed in to change notification settings - Fork 27
57 lines (56 loc) · 1.73 KB
/
build.yaml
File metadata and controls
57 lines (56 loc) · 1.73 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
name: build
on:
push:
branches: [ main ]
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-latest
steps:
- name: deps
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: install_clang
run: sudo apt update && sudo apt install -y clang clang-tools lld
- name: build
uses: ros-tooling/[email protected]
env:
CC: clang
CXX: clang++
with:
target-ros2-distro: humble
# build all packages listed in the meta package
package-name: |
rmf_building_sim_common
rmf_building_sim_gz_classic_plugins
rmf_building_sim_gz_plugins
rmf_robot_sim_common
rmf_robot_sim_gz_classic_plugins
rmf_robot_sim_gz_plugins
vcs-repo-file-url: |
https://raw.githubusercontent.com/open-rmf/rmf/humble-image/rmf.repos
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc", "lld"]
}
}
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- name: Upload failed test results
uses: actions/upload-artifact@v2
if: failure()
with:
name: test-results
path: ros_ws/build/*/test_results/*/*.catch2.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
files: ros_ws/lcov/total_coverage.info
flags: tests
name: lean_and_mean_codecov_bot