tdlight-java-natives/travis/build.sh

26 lines
463 B
Bash
Raw Normal View History

#!/bin/bash -e
2020-10-10 15:08:26 +02:00
set -e
if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then
while true; do free -h ; sleep 2; done &
fi
source ./travis/setup_variables.sh
2020-10-10 19:21:08 +02:00
SCRIPTS_DIR=$(realpath ./scripts/)
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./generate_maven_project.sh
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./generate_td_tools.sh
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./compile_td.sh
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./generate_tdapi_java_file.sh
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./compile_tdjni.sh
2020-10-10 19:21:08 +02:00
cd ${SCRIPTS_DIR}
./build_generated_maven_project.sh
echo "Done."
exit 0