Commit a2ab823f authored by Jason Swails's avatar Jason Swails
Browse files

Tweak the build pipeline and scripts

parent d0ff650a
...@@ -13,12 +13,11 @@ pipeline { ...@@ -13,12 +13,11 @@ pipeline {
} }
} }
steps { steps {
sh '''#!/bin/bash -ex sh "git clean -fxd && git checkout ."
git clean -fxd && git checkout . withEnv(["OPENMM_CUDA_COMPILER=/usr/local/cuda/bin/nvcc"]) {
export OPENMM_CUDA_COMPILER=`which nvcc` sh "bash -e devtools/ci/jenkins/install.sh"
bash -e devtools/ci/jenkins/install.sh sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2 }
'''
} }
} }
...@@ -31,11 +30,9 @@ pipeline { ...@@ -31,11 +30,9 @@ pipeline {
} }
} }
steps { steps {
sh '''#!/bin/bash -ex sh "git clean -fxd && git checkout ."
git clean -fxd && git checkout . sh "bash -e devtools/ci/jenkins/install.sh"
bash -e devtools/ci/jenkins/install.sh sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
bash -e devtools/ci/jenkins/test.sh -R 'TestOpenCL' --parallel 2
'''
} }
} }
...@@ -49,10 +46,9 @@ pipeline { ...@@ -49,10 +46,9 @@ pipeline {
} }
steps { steps {
sh '''#!/bin/bash -lex sh "git clean -fxd && git checkout ."
git clean -fxd && git checkout . sh "bash -e devtools/ci/jenkins/install.sh"
bash -e devtools/ci/jenkins/install_and_test_cpu.sh sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
'''
} }
} }
} }
......
#!/bin/bash -ex
# This script is executed via the line: # This script is executed via the line:
# source devtools/ci/jenkins/install.sh # source devtools/ci/jenkins/install.sh
# in a bash shell with the -lex options turned on # in a bash shell with the -lex options turned on
......
#!/bin/bash #!/bin/bash -ex
EXTRA_CMAKE_ARGS="-DOPENMM_BUILD_CUDA_LIB=false -DOPENMM_BUILD_OPENCL_LIB=false" EXTRA_CMAKE_ARGS="-DOPENMM_BUILD_CUDA_LIB=false -DOPENMM_BUILD_OPENCL_LIB=false"
. devtools/ci/jenkins/install.sh . devtools/ci/jenkins/install.sh
......
#!/bin/sh #!/bin/bash -ex
python devtools/run-ctest.py --job-duration=120 --timeout 300 --in-order $* python devtools/run-ctest.py --job-duration=120 --timeout 300 --in-order $*
\ No newline at end of file
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