-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (46 loc) · 1.67 KB
/
master.yaml
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
name: master
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
fail-fast: false
steps:
- name: Install popf deps
run: sudo apt-get install libfl-dev
- name: Setup ROS 2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: foxy
- name: Install TFD
run: mkdir /tmp/tfd && cd /tmp/tfd && wget "http://gki.informatik.uni-freiburg.de/tools/tfd/downloads/version-0.4/tfd-src-0.4.tgz" && tar xzf "tfd-src-0.4.tgz" && cd "tfd-src-0.4" && sed -e s/"-Werror"//g -i ./downward/search/Makefile && ./build
- name: set environment for finding TFD
uses: allenevans/[email protected]
with:
TFD_HOME: '/tmp/tfd/tfd-src-0.4/downward'
- name: Create custom repos
run: wget -O /tmp/all.repos https://raw.githubusercontent.com/IntelligentRoboticsLabs/plansys2_tfd_plan_solver/master/plansys2.repos
- name: build and test
uses: fmrico/[email protected]
with:
package-name: plansys2_tfd_plan_solver
target-ros2-distro: foxy
vcs-repo-file-url: /tmp/all.repos
colcon-mixin-name: coverage-gcc
colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ros_ws/lcov/total_coverage.info
flags: unittests
name: codecov-umbrella
yml: ./codecov.yml
fail_ci_if_error: false