Unverified Commit 7b98e899 authored by VoVAllen's avatar VoVAllen Committed by GitHub
Browse files

[CI] Try new CI (#1124)

* tf

* add builtin support

* fiix

* pytest

* fix

* fix

* fix some bugs

* fix selecting

* fix todo

* fix test

* fix test fail in tf

* fix

* fix

* fix gather row

* fix gather row

* log backend

* fix gather row

* fix gather row

* fix for pytorch

* fix

* fix

* fix

* fix

* fix

* fix tests

* fix

* fix

* fix

* fix

* fix

* fix

* fix convert

* fix

* fix

* fix

* fix inplace

* add alignment setting

* add debug option

* Revert "add alignment setting"

This reverts commit ec63fb3506ea84fff7d447a1fbdfd1d5d1fb6110.

* tf ci

* fix lint

* fix lint

* add tfdlpack

* fix type

* add env

* fix backend

* fix

* fix tests

* remove one_hot

* remove comment

* remove comment

* fix

* use pip to install all

* fix test

* fix base

* fix

* fix

* add skip

* upgrade cmake

* change version

* change ci

* fix

* fix

* fix

* fix

* fix seg fault

* fix

* fix python version

* fix

* try fix

* fix

* fix

* tf takes longer time in ci

* change py version

* fix

* fix

* fix oom

* change kg env

* change kg env

* 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊

* 我再也不搞各种乱七八糟环境了……

* use pytest

* Chang image

* try node

* try

* fix

* try new ci

* try new ci

* try new ci

* try new ci

* ci

* try

* try

* fix
parent d30a69bf
...@@ -101,11 +101,17 @@ def tutorial_test_linux(backend) { ...@@ -101,11 +101,17 @@ def tutorial_test_linux(backend) {
} }
} }
pipeline { pipeline {
agent any agent any
stages { stages {
stage("Lint Check") { stage("Lint Check") {
agent { docker { image "dgllib/dgl-ci-lint" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-lint"
}
}
steps { steps {
init_git() init_git()
sh "bash tests/scripts/task_lint.sh" sh "bash tests/scripts/task_lint.sh"
...@@ -119,7 +125,12 @@ pipeline { ...@@ -119,7 +125,12 @@ pipeline {
stage("Build") { stage("Build") {
parallel { parallel {
stage("CPU Build") { stage("CPU Build") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
steps { steps {
build_dgl_linux("cpu") build_dgl_linux("cpu")
} }
...@@ -132,8 +143,9 @@ pipeline { ...@@ -132,8 +143,9 @@ pipeline {
stage("GPU Build") { stage("GPU Build") {
agent { agent {
docker { docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-gpu:conda" image "dgllib/dgl-ci-gpu:conda"
args "--runtime nvidia" args "-u root"
} }
} }
steps { steps {
...@@ -165,7 +177,12 @@ pipeline { ...@@ -165,7 +177,12 @@ pipeline {
stage("Test") { stage("Test") {
parallel { parallel {
stage("C++ CPU") { stage("C++ CPU") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
steps { steps {
cpp_unit_test_linux() cpp_unit_test_linux()
} }
...@@ -187,7 +204,12 @@ pipeline { ...@@ -187,7 +204,12 @@ pipeline {
} }
} }
stage("Tensorflow CPU") { stage("Tensorflow CPU") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
stages { stages {
stage("Unit test") { stage("Unit test") {
steps { steps {
...@@ -204,6 +226,7 @@ pipeline { ...@@ -204,6 +226,7 @@ pipeline {
stage("Tensorflow GPU") { stage("Tensorflow GPU") {
agent { agent {
docker { docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:conda" image "dgllib/dgl-ci-gpu:conda"
args "--runtime nvidia" args "--runtime nvidia"
} }
...@@ -222,7 +245,12 @@ pipeline { ...@@ -222,7 +245,12 @@ pipeline {
} }
} }
stage("Torch CPU") { stage("Torch CPU") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
stages { stages {
stage("Unit test") { stage("Unit test") {
steps { steps {
...@@ -269,6 +297,7 @@ pipeline { ...@@ -269,6 +297,7 @@ pipeline {
stage("Torch GPU") { stage("Torch GPU") {
agent { agent {
docker { docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:conda" image "dgllib/dgl-ci-gpu:conda"
args "--runtime nvidia" args "--runtime nvidia"
} }
...@@ -293,7 +322,12 @@ pipeline { ...@@ -293,7 +322,12 @@ pipeline {
} }
} }
stage("MXNet CPU") { stage("MXNet CPU") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
stages { stages {
stage("Unit test") { stage("Unit test") {
steps { steps {
...@@ -315,6 +349,7 @@ pipeline { ...@@ -315,6 +349,7 @@ pipeline {
stage("MXNet GPU") { stage("MXNet GPU") {
agent { agent {
docker { docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:conda" image "dgllib/dgl-ci-gpu:conda"
args "--runtime nvidia" args "--runtime nvidia"
} }
...@@ -338,7 +373,12 @@ pipeline { ...@@ -338,7 +373,12 @@ pipeline {
stage("App") { stage("App") {
parallel { parallel {
stage("Knowledge Graph CPU") { stage("Knowledge Graph CPU") {
agent { docker { image "dgllib/dgl-ci-cpu:conda" } } agent {
docker {
label "linux-cpu-node"
image "dgllib/dgl-ci-cpu:conda"
}
}
stages { stages {
stage("Torch test") { stage("Torch test") {
steps { steps {
...@@ -360,6 +400,7 @@ pipeline { ...@@ -360,6 +400,7 @@ pipeline {
stage("Knowledge Graph GPU") { stage("Knowledge Graph GPU") {
agent { agent {
docker { docker {
label "linux-gpu-node"
image "dgllib/dgl-ci-gpu:conda" image "dgllib/dgl-ci-gpu:conda"
args "--runtime nvidia" args "--runtime nvidia"
} }
......
...@@ -22,7 +22,7 @@ rm -rf _download ...@@ -22,7 +22,7 @@ rm -rf _download
pushd build pushd build
cmake $CMAKE_VARS .. cmake $CMAKE_VARS ..
make -j4 make -j8
popd popd
pushd python pushd python
......
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