Add verbose option to fetchDependencies and use it in Travis to avoid CI timeouts.

This commit is contained in:
Bill Hollings 2018-12-24 22:15:23 -05:00
parent bdacc5392a
commit 91ed8ba4b0
2 changed files with 8 additions and 2 deletions

View File

@ -6,7 +6,7 @@ osx_image: xcode10
# Build dependencies
install:
- brew install python3
- ./fetchDependencies
- ./fetchDependencies -v
# Cache built deps
cache:

View File

@ -22,17 +22,23 @@
# build directory must be in the specified directory.
# It should be built the same way this script builds it.
#
# -v verbose output
#
# ----------------- Functions -------------------
XC_BUILD_VERBOSITY="-quiet"
V_HEADERS_ROOT=""
SPIRV_CROSS_ROOT=""
GLSLANG_ROOT=""
while (( "$#" )); do
case "$1" in
-v)
XC_BUILD_VERBOSITY=""
shift 1
;;
--v-headers-root)
V_HEADERS_ROOT=$2
shift 2
@ -235,7 +241,7 @@ xcodebuild \
-project "${EXT_DEPS}.xcodeproj" \
-scheme "${EXT_DEPS}" \
-derivedDataPath "${EXT_DIR}/build" \
-quiet \
${XC_BUILD_VERBOSITY} \
build
echo ========== Done! ==========