2018-05-27 05:38:50 +08:00
|
|
|
#!/usr/bin/env bash
|
2018-08-09 07:24:37 -07:00
|
|
|
|
|
|
|
# Cause the script to exit if a single command fails.
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Show explicitly which commands are currently running.
|
|
|
|
set -x
|
|
|
|
|
2018-05-27 05:38:50 +08:00
|
|
|
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
update ray cmake build process (#2853)
* use cmake to build ray project, no need to appply build.sh before cmake, fix some abuse of cmake, improve the build performance
* support boost external project, avoid using the system or build.sh boost
* keep compatible with build.sh, remove boost and arrow build from it.
* bugfix: parquet bison version control, plasma_java lib install problem
* bugfix: cmake, do not compile plasma java client if no need
* bugfix: component failures test timeout machenism has problem for plasma manager failed case
* bugfix: arrow use lib64 in centos, travis check-git-clang-format-output.sh does not support other branches except master
* revert some fix
* set arrow python executable, fix format error in component_failures_test.py
* make clean arrow python build directory
* update cmake code style, back to support cmake minimum version 3.4
2018-09-13 02:19:33 +08:00
|
|
|
$ROOT_DIR/../build.sh -l java
|
2018-05-27 05:38:50 +08:00
|
|
|
|
|
|
|
pushd $ROOT_DIR/../java
|
|
|
|
mvn clean install -Dmaven.test.skip
|
2018-06-10 07:26:54 +08:00
|
|
|
check_style=$(mvn checkstyle:check)
|
|
|
|
echo "${check_style}"
|
|
|
|
[[ ${check_style} =~ "BUILD FAILURE" ]] && exit 1
|
2018-08-02 08:52:49 +08:00
|
|
|
|
update ray cmake build process (#2853)
* use cmake to build ray project, no need to appply build.sh before cmake, fix some abuse of cmake, improve the build performance
* support boost external project, avoid using the system or build.sh boost
* keep compatible with build.sh, remove boost and arrow build from it.
* bugfix: parquet bison version control, plasma_java lib install problem
* bugfix: cmake, do not compile plasma java client if no need
* bugfix: component failures test timeout machenism has problem for plasma manager failed case
* bugfix: arrow use lib64 in centos, travis check-git-clang-format-output.sh does not support other branches except master
* revert some fix
* set arrow python executable, fix format error in component_failures_test.py
* make clean arrow python build directory
* update cmake code style, back to support cmake minimum version 3.4
2018-09-13 02:19:33 +08:00
|
|
|
# test raylet
|
2018-08-02 08:52:49 +08:00
|
|
|
mvn_test=$(mvn test)
|
|
|
|
echo "${mvn_test}"
|
|
|
|
[[ ${mvn_test} =~ "BUILD SUCCESS" ]] || exit 1
|
|
|
|
|
|
|
|
popd
|