Build translations on macOS.
This commit is contained in:
parent
af74d9853c
commit
598310579c
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,7 @@ if [ "$LTO" == "" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
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
|
travis_wait ./projectfiles/Xcode/Fix_Xcode_Dependencies
|
||||||
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
elif [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
||||||
start=`pwd`
|
start=`pwd`
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
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 CC=ccache-clang
|
||||||
export CXX=ccache-clang++
|
export CXX=ccache-clang++
|
||||||
|
|
||||||
|
scons translations build=release --debug=time nls=true jobs=2 || exit 1
|
||||||
|
|
||||||
cd ./projectfiles/Xcode
|
cd ./projectfiles/Xcode
|
||||||
|
|
||||||
export CCACHE_MAXSIZE=500M
|
export CCACHE_MAXSIZE=500M
|
||||||
|
|
Loading…
Add table
Reference in a new issue