From 6281bee10fdcd7b4dad8d79e0a5c8e680c53cee0 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Wed, 15 Nov 2023 16:07:41 +0100 Subject: [PATCH] wip --- .ci/test.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.ci/test.sh b/.ci/test.sh index 57dedbc91d..869d519312 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -26,29 +26,25 @@ fi curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ppa.sh | bash +sudo apt-get -y -q install ros-noetic-desktop sudo apt-get -y -q install ros-noetic-mrs-uav-system REPOS=$(./.ci/get_repo_source.py $YAML_FILE $VARIANT $ARCH $PACKAGE_NAME) -IDX=`cat "$IDX_FILE"` -IDX=$(($IDX+1)) - -echo "$0: this is the $IDX-th job in the pipeline" - -echo "$0: artifacts installed" - -# write the new incremented job idx to the shared file -echo "$IDX" > $IDX_FILE - -mkdir -p $WORKSPACE +echo "$0: creating workspace" +mkdir -p $WORKSPACE/src cd $WORKSPACE -mkdir src source /opt/ros/noetic/setup.bash catkin init +catkin config --profile reldeb --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo +catkin profile set reldeb + cd src +echo "$0: cloning the package" + # clone and checkout echo "$REPOS" | while IFS= read -r REPO; do @@ -63,6 +59,10 @@ done cd $WORKSPACE/src +echo "$0: installing rosdep dependencies" + +rosdep install --from-path . + echo "$0: building the workspace" catkin build