mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
[jenkins] For sanitized build use RelWithDebInfo build mode
This commit is contained in:
parent
b4fb9624e3
commit
93ee35d25e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -42,7 +42,7 @@ for (int i = 0; i < dockerPlatforms.size(); i++) {
|
|||||||
if (platform == documentationPlatform)
|
if (platform == documentationPlatform)
|
||||||
args = '-DBuild_Documentation=1'
|
args = '-DBuild_Documentation=1'
|
||||||
else if (platform == "sanitize")
|
else if (platform == "sanitize")
|
||||||
args = '-DASAN=ON -DUBSAN=ON'
|
args = '-DASAN=ON -DUBSAN=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo'
|
||||||
def img = docker.build("flatironinstitute/${dockerName}:${env.BRANCH_NAME}-${env.STAGE_NAME}", "--build-arg APPNAME=${projectName} --build-arg BUILD_ID=${env.BUILD_TAG} --build-arg CMAKE_ARGS='${args}' .")
|
def img = docker.build("flatironinstitute/${dockerName}:${env.BRANCH_NAME}-${env.STAGE_NAME}", "--build-arg APPNAME=${projectName} --build-arg BUILD_ID=${env.BUILD_TAG} --build-arg CMAKE_ARGS='${args}' .")
|
||||||
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
|
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
|
||||||
img.inside("--shm-size=4gb") {
|
img.inside("--shm-size=4gb") {
|
||||||
|
Loading…
Reference in New Issue
Block a user