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 : ghcr.io/autowarefoundation/autoware-universe:galactic-latest-cuda
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 : ghcr.io/autowarefoundation/autoware-universe:galactic-latest-cuda
31
+ build-depends-repos : build_depends.repos
32
+ - rosdistro : humble
33
+ container : ghcr.io/autowarefoundation/autoware-universe:humble-latest-cuda
34
+ build-depends-repos : build_depends.humble.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 }}
0 commit comments