Filled Obstacles header (#5) #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
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_human_detector_oakd | |
rmf_obstacle_detector_laserscan | |
vcs-repo-file-url: | | |
https://raw.githubusercontent.com/open-rmf/rmf/main/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 coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
files: ros_ws/lcov/total_coverage.info | |
flags: tests | |
name: lean_and_mean_codecov_bot |