Skip to content

Commit

Permalink
fixing rosdep
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Jul 30, 2023
1 parent f43531f commit ad6ecf9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ echo "$0: catking reported following topological build order:"
echo "$BUILD_ORDER"
echo ""

touch $ARTIFACTS_FOLDER/generated.yaml
ROSDEP_FILE=$ARTIFACTS_FOLDER/generated.yaml

SKIP_KEYS=""
touch $ROSDEP_FILE

for PACKAGE in $BUILD_ORDER; do
SKIP_KEYS="$SKIP_KEYS $PACKAGE"
done
sudo echo "yaml file://$ROSDEP_FILE" >> /etc/ros/rosdep/sources.list.d/temp.list

for PACKAGE in $BUILD_ORDER; do

Expand All @@ -77,9 +75,7 @@ for PACKAGE in $BUILD_ORDER; do
echo "$0: cding to '$PKG_PATH'"
cd $PKG_PATH

source /opt/ros/noetic/setup.bash

rosdep install -y -v --rosdistro=noetic -i --skip-keys="$SKIP_KEYS" --from-paths ./
rosdep install -y -v --rosdistro=noetic --from-paths ./

export DEB_BUILD_OPTIONS="parallel=`nproc`"
bloom-generate rosdebian --os-name ubuntu --os-version focal --ros-distro noetic
Expand All @@ -94,6 +90,10 @@ for PACKAGE in $BUILD_ORDER; do
ubuntu: [$DEB_NAME]
" >> $ARTIFACTS_FOLDER/generated.yaml

rosdep update

source /opt/ros/noetic/setup.bash

done

echo ""
Expand Down

0 comments on commit ad6ecf9

Please sign in to comment.