CI: removed QEMU, use ubuntu arm runners (#1458)

* CI: removed QEMU, use ubuntu arm runners

* set back -j2

* executor sequential
This commit is contained in:
matlabbe
2026-09-22 17:04:35 -07:00
committed by GitHub
parent 11edc01d6a
commit 335d155768
6 changed files with 76 additions and 51 deletions
+2 -8
View File
@@ -17,19 +17,13 @@ RUN source /ros_entrypoint.sh && \
bash src/rtabmap_ros/docker/verify_deps.sh && \
apt-get clean && rm -rf /var/lib/apt/lists/
# Tests run in the build layer, before the workspace is deleted, so none of them reach
# the image. CI asks for them; a target that is not the architecture being built on
# skips them, that one being emulated. Only buildx sets BUILDPLATFORM, so anything
# else building with RUN_TESTS=1 runs them.
ARG RUN_TESTS=0
ARG BUILDPLATFORM
ARG TARGETPLATFORM
RUN source /ros_entrypoint.sh && \
cd ros2_ws && \
export MAKEFLAGS="-j2" && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/$ROS_DISTRO --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
if [ "$RUN_TESTS" = "1" ] && [ "${BUILDPLATFORM:-$TARGETPLATFORM}" = "$TARGETPLATFORM" ]; then \
colcon build --executor sequential --event-handlers console_direct+ --install-base /opt/ros/$ROS_DISTRO --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
if [ "$RUN_TESTS" = "1" ]; then \
colcon test --executor sequential --event-handlers console_direct+ --install-base /opt/ros/$ROS_DISTRO --merge-install && \
colcon test-result --verbose; \
fi && \