File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 11name : Build and Test
22description : Common build and test logic for Deep ROS
33
4+ inputs :
5+ ros-distro :
6+ description : ' ROS distribution to use'
7+ required : true
8+ default : ' humble'
9+
410runs :
511 using : " composite"
612 steps :
@@ -14,11 +20,14 @@ runs:
1420
1521 - name : 🧱 Build workspace
1622 shell : bash
17- run : colcon build --merge-install
23+ run : |
24+ source /opt/ros/${{ inputs.ros-distro }}/setup.bash
25+ colcon build --merge-install
1826
1927 - name : ✅ Run tests
2028 shell : bash
2129 run : |
30+ source /opt/ros/${{ inputs.ros-distro }}/setup.bash
2231 colcon test --merge-install --event-handlers console_cohesion+
2332 colcon test-result --verbose
2433
Original file line number Diff line number Diff line change 1919 with :
2020 required-ros-distributions : ${{ env.ROS_DISTRO }}
2121 - uses : ./.github/actions/build-and-test
22+ with :
23+ ros-distro : ${{ env.ROS_DISTRO }}
You can’t perform that action at this time.
0 commit comments