Skip to content

Commit

Permalink
Account for failed underlay builds
Browse files Browse the repository at this point in the history
if we don't happen to clean the underlay
when we keep the underlay from the docker image
  • Loading branch information
ruffsl committed Jul 31, 2019
1 parent 77d6e27 commit 4cf00a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ references:
name: Build Underlay
command: |
cd $ROS_WS
if [ -d install ]
if [ -d install ] && [ ! -f build_failed ]
then
echo "Skipping Underlay Build"
else
Expand All @@ -72,6 +72,7 @@ references:
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
rm -f build_failed
fi
save_underlay_cache: &save_underlay_cache
save_cache:
Expand Down

0 comments on commit 4cf00a6

Please sign in to comment.