File tree 4 files changed +72
-20
lines changed
4 files changed +72
-20
lines changed Original file line number Diff line number Diff line change 18
18
needs : prevent-no-label-execution
19
19
if : ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
20
20
runs-on : [self-hosted, linux, ARM64]
21
- container : ros:galactic
21
+ container : ${{ matrix.container }}
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ rosdistro :
26
+ - galactic
27
+ - humble
28
+ include :
29
+ - rosdistro : galactic
30
+ container : ros:galactic
31
+ build-depends-repos : build_depends.repos
32
+ - rosdistro : humble
33
+ container : ros:humble
34
+ build-depends-repos : build_depends.repos
22
35
steps :
23
36
- name : Check out repository
24
37
uses : actions/checkout@v3
@@ -36,14 +49,14 @@ jobs:
36
49
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
37
50
uses : autowarefoundation/autoware-github-actions/colcon-build@v1
38
51
with :
39
- rosdistro : galactic
52
+ rosdistro : ${{ matrix.rosdistro }}
40
53
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
41
- build-depends-repos : build_depends. repos
54
+ build-depends-repos : ${{ matrix.build-depends- repos }}
42
55
43
56
- name : Test
44
57
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
45
58
uses : autowarefoundation/autoware-github-actions/colcon-test@v1
46
59
with :
47
- rosdistro : galactic
60
+ rosdistro : ${{ matrix.rosdistro }}
48
61
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
49
- build-depends-repos : build_depends. repos
62
+ build-depends-repos : ${{ matrix.build-depends- repos }}
Original file line number Diff line number Diff line change 6
6
jobs :
7
7
build-and-test-differential :
8
8
runs-on : ubuntu-latest
9
- container : ros:galactic
9
+ container : ${{ matrix.container }}
10
+ strategy :
11
+ fail-fast : false
12
+ matrix :
13
+ rosdistro :
14
+ - galactic
15
+ - humble
16
+ include :
17
+ - rosdistro : galactic
18
+ container : ros:galactic
19
+ build-depends-repos : build_depends.repos
20
+ - rosdistro : humble
21
+ container : ros:humble
22
+ build-depends-repos : build_depends.repos
10
23
steps :
11
24
- name : Cancel previous runs
12
25
@@ -27,18 +40,18 @@ jobs:
27
40
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
28
41
uses : autowarefoundation/autoware-github-actions/colcon-build@v1
29
42
with :
30
- rosdistro : galactic
43
+ rosdistro : ${{ matrix.rosdistro }}
31
44
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
32
- build-depends-repos : build_depends. repos
45
+ build-depends-repos : ${{ matrix.build-depends- repos }}
33
46
34
47
- name : Test
35
48
id : test
36
49
if : ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
37
50
uses : autowarefoundation/autoware-github-actions/colcon-test@v1
38
51
with :
39
- rosdistro : galactic
52
+ rosdistro : ${{ matrix.rosdistro }}
40
53
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
41
- build-depends-repos : build_depends. repos
54
+ build-depends-repos : ${{ matrix.build-depends- repos }}
42
55
43
56
- name : Upload coverage to CodeCov
44
57
if : ${{ steps.test.outputs.coverage-report-files != '' }}
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build-and-test-self-hosted :
10
10
runs-on : [self-hosted, linux, ARM64]
11
- container : ros:galactic
11
+ container : ${{ matrix.container }}
12
+ strategy :
13
+ fail-fast : false
14
+ matrix :
15
+ rosdistro :
16
+ - galactic
17
+ - humble
18
+ include :
19
+ - rosdistro : galactic
20
+ container : ros:galactic
21
+ build-depends-repos : build_depends.repos
22
+ - rosdistro : humble
23
+ container : ros:humble
24
+ build-depends-repos : build_depends.repos
12
25
steps :
13
26
- name : Check out repository
14
27
uses : actions/checkout@v3
@@ -24,14 +37,14 @@ jobs:
24
37
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
25
38
uses : autowarefoundation/autoware-github-actions/colcon-build@v1
26
39
with :
27
- rosdistro : galactic
40
+ rosdistro : ${{ matrix.rosdistro }}
28
41
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
29
- build-depends-repos : build_depends. repos
42
+ build-depends-repos : ${{ matrix.build-depends- repos }}
30
43
31
44
- name : Test
32
45
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
33
46
uses : autowarefoundation/autoware-github-actions/colcon-test@v1
34
47
with :
35
- rosdistro : galactic
48
+ rosdistro : ${{ matrix.rosdistro }}
36
49
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
37
- build-depends-repos : build_depends. repos
50
+ build-depends-repos : ${{ matrix.build-depends- repos }}
Original file line number Diff line number Diff line change 10
10
build-and-test :
11
11
if : ${{ github.event_name != 'push' || github.ref_name == github.event.repository.default_branch }}
12
12
runs-on : ubuntu-latest
13
- container : ros:galactic
13
+ container : ${{ matrix.container }}
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ rosdistro :
18
+ - galactic
19
+ - humble
20
+ include :
21
+ - rosdistro : galactic
22
+ container : ros:galactic
23
+ build-depends-repos : build_depends.repos
24
+ - rosdistro : humble
25
+ container : ros:humble
26
+ build-depends-repos : build_depends.repos
14
27
steps :
15
28
- name : Check out repository
16
29
uses : actions/checkout@v3
@@ -26,18 +39,18 @@ jobs:
26
39
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
27
40
uses : autowarefoundation/autoware-github-actions/colcon-build@v1
28
41
with :
29
- rosdistro : galactic
42
+ rosdistro : ${{ matrix.rosdistro }}
30
43
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
31
- build-depends-repos : build_depends. repos
44
+ build-depends-repos : ${{ matrix.build-depends- repos }}
32
45
33
46
- name : Test
34
47
if : ${{ steps.get-self-packages.outputs.self-packages != '' }}
35
48
id : test
36
49
uses : autowarefoundation/autoware-github-actions/colcon-test@v1
37
50
with :
38
- rosdistro : galactic
51
+ rosdistro : ${{ matrix.rosdistro }}
39
52
target-packages : ${{ steps.get-self-packages.outputs.self-packages }}
40
- build-depends-repos : build_depends. repos
53
+ build-depends-repos : ${{ matrix.build-depends- repos }}
41
54
42
55
- name : Upload coverage to CodeCov
43
56
if : ${{ steps.test.outputs.coverage-report-files != '' }}
You can’t perform that action at this time.
0 commit comments