Update run-scripts.sh [ci build]

This commit is contained in:
halx99 2020-11-09 17:53:23 +08:00 committed by GitHub
parent b2d8a4626c
commit 98e2af183b
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@ function build_android()
# build cpp-tests # build cpp-tests
pushd $COCOS2DX_ROOT/tests/cpp-tests/proj.android pushd $COCOS2DX_ROOT/tests/cpp-tests/proj.android
# generate local.properties to use system installed cmake since we require cmake-3.14+
CMAKE_PATH=`which cmake`
echo "cmake.dir=$CMAKE_PATH">local.properties
do_retry ./gradlew assembleRelease -PPROP_BUILD_TYPE=cmake -PPROP_APP_ABI=arm64-v8a --parallel --info do_retry ./gradlew assembleRelease -PPROP_BUILD_TYPE=cmake -PPROP_APP_ABI=arm64-v8a --parallel --info
popd popd
} }