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
ebda932d
Unverified
Commit
ebda932d
authored
Mar 27, 2020
by
Jinjing Zhou
Committed by
GitHub
Mar 27, 2020
Browse files
[CI] Tensorflow ci (#1397)
* fix * fix
parent
1e27e90e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
42 deletions
+42
-42
Jenkinsfile
Jenkinsfile
+42
-42
No files found.
Jenkinsfile
View file @
ebda932d
...
@@ -149,7 +149,7 @@ pipeline {
...
@@ -149,7 +149,7 @@ pipeline {
}
}
}
}
steps
{
steps
{
sh
"nvidia-smi"
//
sh "nvidia-smi"
build_dgl_linux
(
"gpu"
)
build_dgl_linux
(
"gpu"
)
}
}
post
{
post
{
...
@@ -203,47 +203,47 @@ pipeline {
...
@@ -203,47 +203,47 @@ pipeline {
}
}
}
}
}
}
//
stage("Tensorflow CPU") {
stage
(
"Tensorflow CPU"
)
{
//
agent {
agent
{
//
docker {
docker
{
//
label "linux-cpu-node"
label
"linux-cpu-node"
//
image "dgllib/dgl-ci-cpu:conda"
image
"dgllib/dgl-ci-cpu:conda"
//
}
}
//
}
}
//
stages {
stages
{
//
stage("Unit test") {
stage
(
"Unit test"
)
{
//
steps {
steps
{
//
unit_test_linux("tensorflow", "cpu")
unit_test_linux
(
"tensorflow"
,
"cpu"
)
//
}
}
//
}
}
//
}
}
//
post {
post
{
//
always {
always
{
//
cleanWs disableDeferredWipeout: true, deleteDirs: true
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
//
}
}
//
}
}
//
}
}
//
stage("Tensorflow GPU") {
stage
(
"Tensorflow GPU"
)
{
//
agent {
agent
{
//
docker {
docker
{
//
label "linux-gpu-node"
label
"linux-gpu-node"
//
image "dgllib/dgl-ci-gpu:conda"
image
"dgllib/dgl-ci-gpu:conda"
//
args "--runtime nvidia"
args
"--runtime nvidia"
//
}
}
//
}
}
//
stages {
stages
{
//
stage("Unit test") {
stage
(
"Unit test"
)
{
//
steps {
steps
{
//
unit_test_linux("tensorflow", "gpu")
unit_test_linux
(
"tensorflow"
,
"gpu"
)
//
}
}
//
}
}
//
}
}
//
post {
post
{
//
always {
always
{
//
cleanWs disableDeferredWipeout: true, deleteDirs: true
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
//
}
}
//
}
}
//
}
}
stage
(
"Torch CPU"
)
{
stage
(
"Torch CPU"
)
{
agent
{
agent
{
docker
{
docker
{
...
...
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