Skip to content

Commit 178d059

Browse files
shahasadsnnn
authored andcommitted
Setup java ci (#2528)
1 parent b50878d commit 178d059

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
jobs:
2+
- template: templates/linux-ci.yml
3+
parameters:
4+
AgentPool : 'Linux-CPU'
5+
JobName: 'Linux_CI_Dev'
6+
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"'
7+
DoNugetPack: 'false'
8+
ArtifactName: 'drop-linux'
9+
TimeoutInMinutes: 120

tools/ci_build/github/linux/docker/scripts/install_ubuntu.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ if [ "$OS_VERSION" = "16.04" ]; then
5353
zip \
5454
rsync libunwind8 libpng16-dev libexpat1-dev \
5555
python3-setuptools python3-numpy python3-wheel python python3-pip python3-pytest \
56-
libprotobuf-dev libprotobuf9v5 protobuf-compiler"
56+
libprotobuf-dev libprotobuf9v5 protobuf-compiler \
57+
openjdk-8-jdk"
5758
else # ubuntu18.04
5859
PACKAGE_LIST="autotools-dev \
5960
automake \
@@ -85,7 +86,8 @@ else # ubuntu18.04
8586
zip \
8687
rsync libunwind8 libpng-dev libexpat1-dev \
8788
python3-setuptools python3-numpy python3-wheel python python3-pip python3-pytest \
88-
libprotobuf-dev libprotobuf10 protobuf-compiler"
89+
libprotobuf-dev libprotobuf10 protobuf-compiler \
90+
openjdk-11-jdk"
8991
fi
9092

9193
if [ $DEVICE_TYPE = "Normal" ]; then

0 commit comments

Comments
 (0)