Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
4be1d3e7
Unverified
Commit
4be1d3e7
authored
Jun 13, 2019
by
Minjie Wang
Committed by
GitHub
Jun 13, 2019
Browse files
[CI] workspace and disable mx tutorial (#656)
* workspace and disable mx tutorial * try cleanws * poke * poke * poke
parent
be58224f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
16 deletions
+56
-16
Jenkinsfile
Jenkinsfile
+56
-16
No files found.
Jenkinsfile
View file @
4be1d3e7
...
...
@@ -94,7 +94,7 @@ def tutorial_test_linux(backend) {
}
pipeline
{
agent
none
agent
any
stages
{
stage
(
"Lint Check"
)
{
agent
{
docker
{
image
"dgllib/dgl-ci-lint"
}
}
...
...
@@ -102,6 +102,11 @@ pipeline {
init_git
()
sh
"bash tests/scripts/task_lint.sh"
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"Build"
)
{
parallel
{
...
...
@@ -110,6 +115,11 @@ pipeline {
steps
{
build_dgl_linux
(
"cpu"
)
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"GPU Build"
)
{
agent
{
...
...
@@ -122,6 +132,11 @@ pipeline {
sh
"nvidia-smi"
build_dgl_linux
(
"gpu"
)
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"CPU Build (Win64)"
)
{
// Windows build machines are manually added to Jenkins master with
...
...
@@ -130,6 +145,11 @@ pipeline {
steps
{
build_dgl_win64
(
"cpu"
)
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
// Currently we don't have Windows GPU build machines
}
...
...
@@ -141,12 +161,22 @@ pipeline {
steps
{
cpp_unit_test_linux
()
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"C++ CPU (Win64)"
)
{
agent
{
label
"windows"
}
steps
{
cpp_unit_test_win64
()
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"Torch CPU"
)
{
agent
{
docker
{
image
"dgllib/dgl-ci-cpu"
}
}
...
...
@@ -167,6 +197,11 @@ pipeline {
}
}
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"Torch CPU (Win64)"
)
{
agent
{
label
"windows"
}
...
...
@@ -182,6 +217,11 @@ pipeline {
}
}
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"Torch GPU"
)
{
agent
{
...
...
@@ -203,6 +243,11 @@ pipeline {
}
}
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
"MXNet CPU"
)
{
agent
{
docker
{
image
"dgllib/dgl-ci-cpu"
}
}
...
...
@@ -212,15 +257,15 @@ pipeline {
unit_test_linux
(
"mxnet"
,
"cpu"
)
}
}
//stage("
Example
test") {
//stage("
Tutorial
test") {
// 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 {
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
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment