Skip to content

Commit

Permalink
Remove debugging symbols from Travis xcode build.
Browse files Browse the repository at this point in the history
This removes the -g option from the xcode travis build, since debugging information isn't needed and the increased size was causing the cache to timeout when compressing and uploading it.  ccache max cache size is also decreased from 2 GBs to 200 MBs, which matches the linux+cmake builds.  Fixes #2670.
  • Loading branch information
Pentarctagon committed Mar 23, 2018
1 parent 5770009 commit b801140
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/travis/steps/script.sh
Expand Up @@ -8,10 +8,10 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then

cd ./projectfiles/Xcode

export CCACHE_MAXSIZE=2G
export CCACHE_MAXSIZE=200M
export CCACHE_COMPILERCHECK=content

xcodebuild -project Wesnoth.xcodeproj -target Wesnoth
xcodebuild GCC_GENERATE_DEBUGGING_SYMBOLS=NO -project Wesnoth.xcodeproj -target Wesnoth

BUILD_RET=$?

Expand Down

0 comments on commit b801140

Please sign in to comment.