"...python/git@developer.sourcefind.cn:change/sglang.git" did not exist on "b3fa5dc3c8934b5697648606b8f4fbc522f7b932"
Unverified Commit 4be1d3e7 authored by Minjie Wang's avatar Minjie Wang Committed by GitHub
Browse files

[CI] workspace and disable mx tutorial (#656)

* workspace and disable mx tutorial

* try cleanws

* poke

* poke

* poke
parent be58224f
...@@ -94,7 +94,7 @@ def tutorial_test_linux(backend) { ...@@ -94,7 +94,7 @@ def tutorial_test_linux(backend) {
} }
pipeline { pipeline {
agent none agent any
stages { stages {
stage("Lint Check") { stage("Lint Check") {
agent { docker { image "dgllib/dgl-ci-lint" } } agent { docker { image "dgllib/dgl-ci-lint" } }
...@@ -102,6 +102,11 @@ pipeline { ...@@ -102,6 +102,11 @@ pipeline {
init_git() init_git()
sh "bash tests/scripts/task_lint.sh" sh "bash tests/scripts/task_lint.sh"
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("Build") { stage("Build") {
parallel { parallel {
...@@ -110,6 +115,11 @@ pipeline { ...@@ -110,6 +115,11 @@ pipeline {
steps { steps {
build_dgl_linux("cpu") build_dgl_linux("cpu")
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("GPU Build") { stage("GPU Build") {
agent { agent {
...@@ -122,6 +132,11 @@ pipeline { ...@@ -122,6 +132,11 @@ pipeline {
sh "nvidia-smi" sh "nvidia-smi"
build_dgl_linux("gpu") build_dgl_linux("gpu")
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("CPU Build (Win64)") { stage("CPU Build (Win64)") {
// Windows build machines are manually added to Jenkins master with // Windows build machines are manually added to Jenkins master with
...@@ -130,6 +145,11 @@ pipeline { ...@@ -130,6 +145,11 @@ pipeline {
steps { steps {
build_dgl_win64("cpu") build_dgl_win64("cpu")
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
// Currently we don't have Windows GPU build machines // Currently we don't have Windows GPU build machines
} }
...@@ -141,12 +161,22 @@ pipeline { ...@@ -141,12 +161,22 @@ pipeline {
steps { steps {
cpp_unit_test_linux() cpp_unit_test_linux()
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("C++ CPU (Win64)") { stage("C++ CPU (Win64)") {
agent { label "windows" } agent { label "windows" }
steps { steps {
cpp_unit_test_win64() cpp_unit_test_win64()
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("Torch CPU") { stage("Torch CPU") {
agent { docker { image "dgllib/dgl-ci-cpu" } } agent { docker { image "dgllib/dgl-ci-cpu" } }
...@@ -167,6 +197,11 @@ pipeline { ...@@ -167,6 +197,11 @@ pipeline {
} }
} }
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("Torch CPU (Win64)") { stage("Torch CPU (Win64)") {
agent { label "windows" } agent { label "windows" }
...@@ -182,6 +217,11 @@ pipeline { ...@@ -182,6 +217,11 @@ pipeline {
} }
} }
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("Torch GPU") { stage("Torch GPU") {
agent { agent {
...@@ -203,6 +243,11 @@ pipeline { ...@@ -203,6 +243,11 @@ pipeline {
} }
} }
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
}
}
} }
stage("MXNet CPU") { stage("MXNet CPU") {
agent { docker { image "dgllib/dgl-ci-cpu" } } agent { docker { image "dgllib/dgl-ci-cpu" } }
...@@ -212,15 +257,15 @@ pipeline { ...@@ -212,15 +257,15 @@ pipeline {
unit_test_linux("mxnet", "cpu") unit_test_linux("mxnet", "cpu")
} }
} }
//stage("Example test") { //stage("Tutorial test") {
// steps { // steps {
// unit_test_linux("pytorch", "cpu") // tutorial_test_linux("mxnet")
// } // }
//} //}
stage("Tutorial test") {
steps {
tutorial_test_linux("mxnet")
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
} }
} }
} }
...@@ -238,15 +283,10 @@ pipeline { ...@@ -238,15 +283,10 @@ pipeline {
unit_test_linux("mxnet", "gpu") unit_test_linux("mxnet", "gpu")
} }
} }
//stage("Example test") {
// steps {
// unit_test_linux("pytorch", "cpu")
// }
//}
stage("Tutorial test") {
steps {
tutorial_test_linux("mxnet")
} }
post {
always {
cleanWs disableDeferredWipeout: true, deleteDirs: true
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment