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

Commit

Permalink
add Nightly run and optimized script
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Jan 2, 2019
1 parent 45ef9b7 commit 6a5adf7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,14 @@ nightly_tutorial_test_ubuntu_python2_gpu() {
nosetests-3.4 $NOSE_TIMER_ARGUMENTS --with-xunit --xunit-file nosetests_tutorials.xml test_tutorials.py --nologcapture
}

nightly_java_demo_test_cpu() {
set -ex
cd /work/mxnet/scala-package/mxnet-demo/java-demo
make javademo
./bin/java_sample.sh
./bin/run_od.sh
}


# Deploy

Expand Down
2 changes: 1 addition & 1 deletion scala-package/mxnet-demo/java-demo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

SCALA_VERSION_PROFILE := 2.11
MXNET_VERSION := 1.4.0-SNAPSHOT
MXNET_VERSION := [1.4.0-SNAPSHOT,\)

ifeq ($(OS),Windows_NT)
UNAME_S := Windows
Expand Down
Empty file modified scala-package/mxnet-demo/java-demo/bin/java_sample.sh
100644 → 100755
Empty file.
Empty file modified scala-package/mxnet-demo/java-demo/bin/run_od.sh
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions tests/nightly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ core_logic: {
}
}
},
'Java Demo: CPU': {
node(NODE_LINUX_CPU) {
ws('workspace/java-demo') {
utils.init_git()
utils.docker_run('ubuntu_nightly_cpu', 'nightly_java_demo_test_cpu', false)
}
}
},
'MXNetJS: CPU': {
node(NODE_LINUX_CPU) {
ws('workspace/nt-mxnetjs') {
Expand Down

0 comments on commit 6a5adf7

Please sign in to comment.