Build translations on macOS.

This commit is contained in:
Pentarctagon 2020-02-19 20:37:41 -06:00 committed by Pentarctagon
parent af74d9853c
commit 598310579c
2 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@ if [ "$LTO" == "" ]; then
fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache scons
travis_wait ./projectfiles/Xcode/Fix_Xcode_Dependencies
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
start=`pwd`

View file

@ -1,10 +1,12 @@
#!/bin/bash
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$PWD/utils/travis:$PATH"
export PATH="/usr/local/opt/gettext/bin:/usr/local/opt/ccache/libexec:$PWD/utils/travis:$PATH"
export CC=ccache-clang
export CXX=ccache-clang++
scons translations build=release --debug=time nls=true jobs=2 || exit 1
cd ./projectfiles/Xcode
export CCACHE_MAXSIZE=500M