"vscode:/vscode.git/clone" did not exist on "3e36fd7e32f0b474f41572e012ac7816a4422384"
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 {
}
}
steps {
sh '''#!/bin/bash -ex
git clean -fxd && git checkout .
export OPENMM_CUDA_COMPILER=`which nvcc`
bash -e devtools/ci/jenkins/install.sh
bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2
'''
sh "git clean -fxd && git checkout ."
withEnv(["OPENMM_CUDA_COMPILER=/usr/local/cuda/bin/nvcc"]) {
sh "bash -e devtools/ci/jenkins/install.sh"
sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
}
}
}
......@@ -31,11 +30,9 @@ pipeline {
}
}
steps {
sh '''#!/bin/bash -ex
git clean -fxd && git checkout .
bash -e devtools/ci/jenkins/install.sh
bash -e devtools/ci/jenkins/test.sh -R 'TestOpenCL' --parallel 2
'''
sh "git clean -fxd && git checkout ."
sh "bash -e devtools/ci/jenkins/install.sh"
sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
}
}
......@@ -49,10 +46,9 @@ pipeline {
}
steps {
sh '''#!/bin/bash -lex
git clean -fxd && git checkout .
bash -e devtools/ci/jenkins/install_and_test_cpu.sh
'''
sh "git clean -fxd && git checkout ."
sh "bash -e devtools/ci/jenkins/install.sh"
sh "bash -e devtools/ci/jenkins/test.sh -R 'TestCuda' --parallel 2"
}
}
}
......
#!/bin/bash -ex
# This script is executed via the line:
# source devtools/ci/jenkins/install.sh
# 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"
. devtools/ci/jenkins/install.sh
......
#!/bin/sh
#!/bin/bash -ex
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