Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Nov 15, 2023
1 parent a1c3d2e commit 6281bee
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -63,6 +59,10 @@ done

cd $WORKSPACE/src

echo "$0: installing rosdep dependencies"

rosdep install --from-path .

echo "$0: building the workspace"

catkin build
Expand Down

0 comments on commit 6281bee

Please sign in to comment.