File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ inputs:
36
36
description : Will be part of the cache key
37
37
default : default
38
38
required : false
39
+ underlay-workspace :
40
+ description : Path to the underlay workspace containing setup.sh
41
+ default : " "
42
+ required : false
39
43
40
44
runs :
41
45
using : composite
80
84
else
81
85
rosdep update
82
86
fi
87
+ if [ -f "${{ inputs.underlay-workspace }}/setup.sh" ]; then
88
+ . ${{ inputs.underlay-workspace }}/setup.sh
89
+ fi
83
90
DEBIAN_FRONTEND=noninteractive rosdep install -yqq --from-paths ${package_paths} --ignore-src --rosdistro ${{ inputs.rosdistro }}
84
91
shell : bash
85
92
96
103
if : ${{ steps.restore-build-files.outputs.cache-hit != 'true' }}
97
104
run : |
98
105
. /opt/ros/${{ inputs.rosdistro }}/setup.sh
106
+ if [ -f "${{ inputs.underlay-workspace }}/setup.sh" ]; then
107
+ . ${{ inputs.underlay-workspace }}/setup.sh
108
+ fi
99
109
colcon build --event-handlers console_cohesion+ \
100
110
--packages-up-to ${{ inputs.target-packages }} \
101
111
--cmake-args -DCMAKE_BUILD_TYPE=${{ inputs.cmake-build-type }} -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
You can’t perform that action at this time.
0 commit comments