From 268fec77b209dfb205d3b27ca989fcc17701beea Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 20 Aug 2020 01:34:41 +0200 Subject: [PATCH] Update build.sh --- travis/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/travis/build.sh b/travis/build.sh index 884c122..1f94545 100755 --- a/travis/build.sh +++ b/travis/build.sh @@ -13,6 +13,10 @@ elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then cmake -A x64 -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON -DCMAKE_INSTALL_PREFIX:PATH=${TD_BIN_DIR} -DCMAKE_TOOLCHAIN_FILE:FILEPATH=$VCPKG_DIR/scripts/buildsystems/vcpkg.cmake ${TD_SRC_DIR} fi +if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then + while true; do free -h ; sleep 2; done & +fi + # Split sources if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cmake --build $TD_BUILD_DIR --target prepare_cross_compiling -- -j${TRAVIS_CPU_CORES}