From abd7aed0f980d6c4d571208b833cb7160b15aa60 Mon Sep 17 00:00:00 2001 From: Pentarctagon Date: Wed, 19 Feb 2020 20:33:17 -0600 Subject: [PATCH] Switch to running Release and Debug xcode jobs on macOS. --- .travis.yml | 4 ++-- utils/travis/steps/script.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7012f369a8a..98890538e1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,11 +29,11 @@ matrix: - os: osx compiler: clang - env: TOOL=scons CXXSTD=14 NLS=false BRANCH=master OPT=-O0 + env: TOOL=xcodebuild OPT=Debug NLS=true BRANCH=master - os: osx compiler: clang - env: TOOL=xcodebuild BRANCH=master + env: TOOL=xcodebuild OPT=Release NLS=true BRANCH=master - compiler: gcc env: CXXSTD=14 NLS=only LTS=1604 BRANCH=master diff --git a/utils/travis/steps/script.sh b/utils/travis/steps/script.sh index f53eb1e1622..e55ab76bf83 100755 --- a/utils/travis/steps/script.sh +++ b/utils/travis/steps/script.sh @@ -11,7 +11,7 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then export CCACHE_MAXSIZE=500M export CCACHE_COMPILERCHECK=content - xcodebuild GCC_GENERATE_DEBUGGING_SYMBOLS=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration Debug + xcodebuild GCC_GENERATE_DEBUGGING_SYMBOLS=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration "$OPT" BUILD_RET=$?