From 58e8038ce94b3362f532ee712e36f64af5b0fc31 Mon Sep 17 00:00:00 2001 From: halx99 Date: Mon, 9 Nov 2020 18:27:52 +0800 Subject: [PATCH] fix ci [ci build] --- tools/travis-scripts/run-script.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/travis-scripts/run-script.sh b/tools/travis-scripts/run-script.sh index 1645b3ae8c..90f97531ab 100644 --- a/tools/travis-scripts/run-script.sh +++ b/tools/travis-scripts/run-script.sh @@ -89,7 +89,9 @@ function build_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 + 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 popd }