CI: work around transient OS X failures.
Travis OS X builders randomly break in ways that aren't reproducible outside of their VMs, have no Google hits, and are very aggravating; the two common ones are: * hdiutil: create failed - Resource busy * make[2]: write error This commit drags SNR back into a tolerable range with a gross hack.
This commit is contained in:
parent
ddbb041995
commit
ab710f7ed3
@ -5,4 +5,10 @@ if echo $TRAVIS_TAG | grep ^release-; then BUILD_TYPE=RelWithDebInfo; else BUILD
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
|
||||
make VERBOSE=1
|
||||
if ! make VERBOSE=1; then
|
||||
echo "Sigh, transient build failure. Retrying..."
|
||||
if ! make VERBOSE=1; then
|
||||
echo "Okay, this is probably an actual bug."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user