Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Adding Scala Demo to be run as a part of Nightly CI
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushghai committed Jan 9, 2019
1 parent 8ece68c commit 0495c68
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,13 @@ nightly_java_demo_test_cpu() {
./bin/run_od.sh
}

nightly_scala_demo_test_cpu() {
set -ex
cd /work/mxnet/scala-package/mxnet-demo/scala-demo
make scalademo
bash bin/demo.sh
bash bin/run_im.sh
}

# Deploy

Expand Down
2 changes: 1 addition & 1 deletion scala-package/mxnet-demo/scala-demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

SCALA_VERSION_PROFILE := 2.11
SCALA_VERSION := 2.11.8
MXNET_VERSION := 1.3.0
MXNET_VERSION := [1.5.0-SNAPSHOT,\)

ifeq ($(OS),Windows_NT)
UNAME_S := Windows
Expand Down
7 changes: 7 additions & 0 deletions scala-package/mxnet-demo/scala-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
<name>MXNet Scala Demo</name>
<packaging>pom</packaging>

<repositories>
<repository>
<id>Apache Snapshot</id>
<url>https://repository.apache.org/content/groups/snapshots</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.apache.mxnet</groupId>
Expand Down
8 changes: 8 additions & 0 deletions tests/nightly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ core_logic: {
}
}
},
'Scala Demo: CPU': {
node(NODE_LINUX_CPU) {
ws('workspace/scala-demo') {
utils.init_git()
utils.docker_run('ubuntu_nightly_cpu', 'nightly_scala_demo_test_cpu', false)
}
}
},
'MXNetJS: CPU': {
node(NODE_LINUX_CPU) {
ws('workspace/nt-mxnetjs') {
Expand Down

0 comments on commit 0495c68

Please sign in to comment.