This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
57 lines (51 loc) · 1.85 KB
/
industrial_ci_action.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
53
54
55
56
57
name: CI-Noetic
on: [push, pull_request]
env:
ADDITIONAL_DEBS: "clang-tidy libclang-dev"
CATKIN_LINT: true
CMAKE_ARGS: "-DCATKIN_ENABLE_CLANG_TIDY=true"
jobs:
build_test_main:
name: "Build + Test with Main Repo (http://packages.ros.org/ros/ubuntu)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_REPO: main
ROS_DISTRO: noetic
continue-on-error: true
build_test_testing:
name: "Build + Test with Testing Repo (http://packages.ros.org/ros-testing/ubuntu)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_REPO: testing
ROS_DISTRO: noetic
clang-format:
name: "Build + Test with clang format with Testing Repo of noetic (http://packages.ros.org/ros-testing/ubuntu)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_REPO: testing
ROS_DISTRO: noetic
CLANG_FORMAT_CHECK: file
coverage:
name: "Check coverage with Testing Repo of noetic (http://packages.ros.org/ros-testing/ubuntu)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: 'ros-industrial/industrial_ci@master'
env:
ROS_REPO: testing
ROS_DISTRO: noetic
ADDITIONAL_DEBS: git
CATKIN_LINT: false
NOT_TEST_BUILD: true
PARALLEL_TESTS: true
AFTER_SCRIPT: 'git clone --depth=1 --branch master https://github.com/PilzDE/industrial_ci_addons.git /industrial_ci_addons && source /industrial_ci_addons/check_coverage.sh && check_coverage pilz_control prbt_hardware_support'
CMAKE_ARGS: '-DENABLE_COVERAGE_TESTING=ON -DCMAKE_BUILD_TYPE=Debug'