prototorch_models/Jenkinsfile

36 lines
811 B
Plaintext
Raw Normal View History

2021-11-04 10:04:19 +00:00
pipeline {
agent none
stages {
2021-11-04 10:17:33 +00:00
stage('CPU') {
parallel {
stage('3.9'){
agent {
docker {
image 'python:3.9'
args '--user 0:0'
}
}
steps {
sh 'pip install pip --upgrade --progress-bar off'
sh 'pip install .[all] --progress-bar off'
sh './tests/test_examples.sh examples'
}
}
stage('3.8'){
agent {
docker {
image 'python:3.8'
args '--user 0:0'
}
}
steps {
sh 'pip install pip --upgrade --progress-bar off'
sh 'pip install .[all] --progress-bar off'
sh './tests/test_examples.sh examples'
}
2021-11-04 10:04:19 +00:00
}
}
}
}
}