-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (49 loc) · 1.77 KB
/
build.yml
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
# Simple set of rules for GitHub actions integration with a ROS project
#
name: Build
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Cache APT Packages
uses: awalsh128/[email protected]
with:
packages: g++ cmake subversion doxygen libxml2-dev libssl-dev libsqlite3-dev libboost-all-dev libogre-1.9-dev libsvn-dev libopencv-dev binutils-dev libiberty-dev libcurl4-gnutls-dev libprocps-dev libqwt-qt5-dev libqt5webkit5-dev libqwtmathml-qt5-dev libqt5opengl5-dev libqt5svg5-dev qt*5-dev qttools5-dev-tools git
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install MIRA
run: ./.github/mira-installer-binary.sh -s ubuntu-2204lts-x64 -d mira
- name: MIRA Environment
run: source $(pwd)/mira/start.bash
- name: Setup ROS 2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: rolling
- name: Install dependencies
uses: ros-tooling/[email protected]
with:
package-name: scitos2
target-ros2-distro: rolling
colcon-defaults: |
{
"build": {
"mixin": ["coverage-gcc", "coverage-pytest"]
},
"test": {
"mixin": ["coverage-pytest"]
}
}
skip-tests: false
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ros_ws/lcov/total_coverage.info,ros_ws/coveragepy/.coverage
flags: unittests
name: codecov-umbrella
slug: grupo-avispa/scitos2