2020-10-10 04:03:20 +02:00
|
|
|
#!/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
|
|
|
|
|
2020-10-10 04:03:20 +02:00
|
|
|
source ./travis/setup_variables.sh
|
|
|
|
|
2020-10-10 19:21:08 +02:00
|
|
|
SCRIPTS_DIR=$(realpath ./scripts/)
|
2020-10-10 04:03:20 +02:00
|
|
|
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./generate_maven_project.sh
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./generate_td_tools.sh
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./compile_td.sh
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./generate_tdapi_java_file.sh
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./compile_tdjni.sh
|
2020-10-10 19:21:08 +02:00
|
|
|
cd ${SCRIPTS_DIR}
|
2020-10-10 04:03:20 +02:00
|
|
|
./build_generated_maven_project.sh
|
|
|
|
|
|
|
|
echo "Done."
|
|
|
|
exit 0
|