File tree 2 files changed +42
-1
lines changed
2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ USER $USERNAME
74
74
75
75
# Build Mavros workspace
76
76
RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
77
- && colcon build \
77
+ && colcon build --event-handlers console_cohesion+ --cmake-args -DCMAKE_VERBOSE_MAKEFILE=ON \
78
78
&& rm -rf $MAVROS_WORKSPACE/build
79
79
80
80
# == "Standard" Blue Docker image proceeds from here
Original file line number Diff line number Diff line change 18
18
PUSH : ${{ (github.event_name != 'pull_request') && (github.repository == 'Robotic-Decision-Making-Lab/blue') }}
19
19
20
20
jobs :
21
+ mavros :
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ ROS_DISTRO : [rolling]
26
+ runs-on : ubuntu-latest
27
+ permissions :
28
+ packages : write
29
+ contents : read
30
+ steps :
31
+ - name : Checkout repository
32
+ uses : actions/checkout@v4
33
+
34
+ - name : Log into registry
35
+ if : env.PUSH == 'true'
36
+
37
+ with :
38
+ registry : ghcr.io
39
+ username : ${{ github.actor }}
40
+ password : ${{ secrets.GITHUB_TOKEN }}
41
+
42
+ - name : Extract Docker metadata
43
+ if : env.PUSH == 'true'
44
+ id : meta
45
+
46
+ with :
47
+ images : ghcr.io/${{ github.repository }}
48
+ tags : |
49
+ type=raw,value=${{ matrix.ROS_DISTRO }}-${{ github.job }}
50
+
51
+ - name : Build and push Docker image
52
+
53
+ with :
54
+ context : .
55
+ file : .docker/Dockerfile
56
+ build-args : ROS_DISTRO=${{ matrix.ROS_DISTRO }}
57
+ target : ${{ github.job }}
58
+ tags : ${{ steps.meta.outputs.tags }}
59
+ labels : ${{ steps.meta.outputs.labels }}
60
+ push : ${{ env.PUSH }}
61
+
21
62
ci :
22
63
strategy :
23
64
fail-fast : false
You can’t perform that action at this time.
0 commit comments