mirror of
https://github.com/openmm/openmm
synced 2026-06-03 06:39:48 +09:00
* Use command line compiler if it is explicitly specified * Don't set OPENMM_CUDA_COMPILER on Jenkins
57 lines
1.9 KiB
Groovy
57 lines
1.9 KiB
Groovy
pipeline {
|
|
agent none
|
|
|
|
stages {
|
|
stage("Build and test") {
|
|
parallel {
|
|
stage("Build and test CUDA platform") {
|
|
agent {
|
|
docker {
|
|
image "swails/openmm-all:latest"
|
|
label "cuda && docker"
|
|
args '--gpus all'
|
|
alwaysPull true
|
|
}
|
|
}
|
|
steps {
|
|
sh "git clean -fxd && git checkout ."
|
|
sh "devtools/ci/jenkins/install.sh"
|
|
sh "devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
|
|
}
|
|
}
|
|
|
|
stage("Build and test OpenCL platform") {
|
|
agent {
|
|
docker {
|
|
image "swails/openmm-all:latest"
|
|
label "cuda && docker"
|
|
args '--gpus all'
|
|
alwaysPull true
|
|
}
|
|
}
|
|
steps {
|
|
sh "git clean -fxd && git checkout ."
|
|
sh "devtools/ci/jenkins/install.sh"
|
|
sh "devtools/ci/jenkins/test.sh -R 'TestOpenCL' --parallel 2"
|
|
}
|
|
}
|
|
|
|
stage("Build/test CPU platforms") {
|
|
agent {
|
|
docker {
|
|
image "swails/openmm-cpu:latest"
|
|
label "docker"
|
|
alwaysPull true
|
|
}
|
|
}
|
|
|
|
steps {
|
|
sh "git clean -fxd && git checkout ."
|
|
sh "devtools/ci/jenkins/install_and_test_cpu.sh"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|