Running the translations is short, so do them through scons and cmake.

(cherry-picked from commit ea4d85a06e)
This commit is contained in:
pentarctagon 2018-04-27 04:00:02 -05:00 committed by Pentarctagon
parent 5045c09fd5
commit 6da9f62685
2 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ cache:
matrix:
include:
- compiler: gcc
env: TOOL=scons CXXSTD=14 NLS=true LTS=1604 BRANCH=master
env: CXXSTD=14 NLS=true LTS=1604 BRANCH=master
- compiler: gcc
env: TOOL=scons CXXSTD=17 NLS=false LTS=1804 BRANCH=master

View file

@ -52,11 +52,11 @@ echo "build_timeout(mins): $build_timeout"
$CXX --version
if [ "$NLS" == "true" ]; then
if [ "$TOOL" == "cmake" ]; then
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false && make VERBOSE=1 -j2
else
scons translations build=release --debug=time nls=true jobs=2
fi
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false
make VERBOSE=1 -j2 || exit 1
make clean
scons translations build=release --debug=time nls=true jobs=2
else
build_start=$(date +%s)