mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-05 01:07:49 +08:00
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:
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user