Setup java ci (#2528)

This commit is contained in:
shahasad 2019-12-03 14:21:51 -08:00 committed by Changming Sun
parent b50878dcf0
commit 178d059111
2 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,9 @@
jobs:
- template: templates/linux-ci.yml
parameters:
AgentPool : 'Linux-CPU'
JobName: 'Linux_CI_Dev'
BuildCommand: 'tools/ci_build/github/linux/run_dockerbuild.sh -o ubuntu16.04 -d cpu -r $(Build.BinariesDirectory) -x "--use_mklml --use_llvm --use_nuphar --use_mkldnn --use_tvm --use_automl --build_wheel --build_java --enable_language_interop_ops"'
DoNugetPack: 'false'
ArtifactName: 'drop-linux'
TimeoutInMinutes: 120

View file

@ -53,7 +53,8 @@ if [ "$OS_VERSION" = "16.04" ]; then
zip \
rsync libunwind8 libpng16-dev libexpat1-dev \
python3-setuptools python3-numpy python3-wheel python python3-pip python3-pytest \
libprotobuf-dev libprotobuf9v5 protobuf-compiler"
libprotobuf-dev libprotobuf9v5 protobuf-compiler \
openjdk-8-jdk"
else # ubuntu18.04
PACKAGE_LIST="autotools-dev \
automake \
@ -85,7 +86,8 @@ else # ubuntu18.04
zip \
rsync libunwind8 libpng-dev libexpat1-dev \
python3-setuptools python3-numpy python3-wheel python python3-pip python3-pytest \
libprotobuf-dev libprotobuf10 protobuf-compiler"
libprotobuf-dev libprotobuf10 protobuf-compiler \
openjdk-11-jdk"
fi
if [ $DEVICE_TYPE = "Normal" ]; then