Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a2ab823f
"vscode:/vscode.git/clone" did not exist on "3e36fd7e32f0b474f41572e012ac7816a4422384"
Commit
a2ab823f
authored
Aug 30, 2019
by
Jason Swails
Browse files
Tweak the build pipeline and scripts
parent
d0ff650a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
17 deletions
+14
-17
devtools/Jenkinsfile
devtools/Jenkinsfile
+11
-15
devtools/ci/jenkins/install.sh
devtools/ci/jenkins/install.sh
+1
-0
devtools/ci/jenkins/install_and_test_cpu.sh
devtools/ci/jenkins/install_and_test_cpu.sh
+1
-1
devtools/ci/jenkins/test.sh
devtools/ci/jenkins/test.sh
+1
-1
No files found.
devtools/Jenkinsfile
View file @
a2ab823f
...
...
@@ -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"
}
}
}
...
...
devtools/ci/jenkins/install.sh
View file @
a2ab823f
#!/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
...
...
devtools/ci/jenkins/install_and_test_cpu.sh
View file @
a2ab823f
#!/bin/bash
#!/bin/bash
-ex
EXTRA_CMAKE_ARGS
=
"-DOPENMM_BUILD_CUDA_LIB=false -DOPENMM_BUILD_OPENCL_LIB=false"
.
devtools/ci/jenkins/install.sh
...
...
devtools/ci/jenkins/test.sh
View file @
a2ab823f
#!/bin/
sh
#!/bin/
bash -ex
python devtools/run-ctest.py
--job-duration
=
120
--timeout
300
--in-order
$*
\ No newline at end of file
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