fix ci [ci build]

This commit is contained in:
halx99 2020-11-09 18:27:52 +08:00
parent 98e2af183b
commit 58e8038ce9
1 changed files with 3 additions and 1 deletions

View File

@ -89,7 +89,9 @@ function build_android()
# generate local.properties to use system installed cmake since we require cmake-3.14+ # generate local.properties to use system installed cmake since we require cmake-3.14+
CMAKE_PATH=`which cmake` CMAKE_PATH=`which cmake`
echo "cmake.dir=$CMAKE_PATH">local.properties CMAKE_DIR=`dirname ${CMAKE_PATH}`
echo "cmake.dir=${CMAKE_DIR}">local.properties
cat 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
} }