-
Notifications
You must be signed in to change notification settings - Fork 7
47 lines (43 loc) · 1.17 KB
/
ci.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
name: Industrial CI pipeline
on:
push:
branches:
- master
pull_request:
schedule:
- cron: "0 7 * * *"
jobs:
format_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: "ros-industrial/industrial_ci@master"
env:
ROS_DISTRO: noetic
CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: "9"
build:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
env:
- ROS_DISTRO: noetic
ROS_REPO: main
- ROS_DISTRO: noetic
ROS_REPO: testing
name: build_${{ matrix.env.ROS_DISTRO }}_${{ matrix.env.ROS_REPO }}
steps:
- uses: actions/checkout@v1
- uses: "ros-industrial/industrial_ci@master"
env:
ROS_DISTRO: ${{ matrix.env.ROS_DISTRO }}
ROS_REPO: ${{ matrix.env.ROS_REPO }}
BASEDIR: ${{ github.workspace }}/.build
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
${{ github.workspace }}/.build/target_ws/build/**/test_results/**/*.xml