mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 13:10:47 +00:00
Running the translations is short, so do them through scons and cmake.
(cherry-picked from commit ea4d85a06e6815b398cb4b33dd334fb025d59ca4)
This commit is contained in:
parent
5045c09fd5
commit
6da9f62685
@ -12,7 +12,7 @@ cache:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: TOOL=scons CXXSTD=14 NLS=true LTS=1604 BRANCH=master
|
env: CXXSTD=14 NLS=true LTS=1604 BRANCH=master
|
||||||
|
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: TOOL=scons CXXSTD=17 NLS=false LTS=1804 BRANCH=master
|
env: TOOL=scons CXXSTD=17 NLS=false LTS=1804 BRANCH=master
|
||||||
|
@ -52,11 +52,11 @@ echo "build_timeout(mins): $build_timeout"
|
|||||||
$CXX --version
|
$CXX --version
|
||||||
|
|
||||||
if [ "$NLS" == "true" ]; then
|
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
|
||||||
cmake -DENABLE_NLS=true -DENABLE_GAME=false -DENABLE_SERVER=false -DENABLE_CAMPAIGN_SERVER=false -DENABLE_TESTS=false && make VERBOSE=1 -j2
|
make VERBOSE=1 -j2 || exit 1
|
||||||
else
|
make clean
|
||||||
|
|
||||||
scons translations build=release --debug=time nls=true jobs=2
|
scons translations build=release --debug=time nls=true jobs=2
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
build_start=$(date +%s)
|
build_start=$(date +%s)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user