-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yadunund <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,47 +2,21 @@ name: build | |
on: | ||
pull_request: | ||
push: | ||
branches: [ main ] | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
branches: | ||
- main | ||
workflow_dispatch: | ||
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 | ||
name: rmf_obstacle_detectors | ||
uses: open-rmf/rmf_ci_templates/.github/workflows/reusable_build.yaml@main | ||
with: | ||
dist-matrix: | | ||
[{"ros_distribution": "iron", | ||
"ubuntu_distribution": "jammy"}, | ||
{"ros_distribution": "rolling", | ||
"ubuntu_distribution": "noble"}] | ||
# NOTE: Avoid adding comments in the package lines, this can break some of the called scripts in github actions | ||
packages: | | ||
rmf_human_detector | ||
rmf_human_detector_oakd | ||
rmf_obstacle_detector_laserscan |
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