Declarative Pipeline Jenkins environment attempt

This commit is contained in:
Konstantinos Margaritis 2022-09-16 11:54:23 +03:00
parent bf6200ecc8
commit 4934852003

6
Jenkinsfile vendored
View File

@ -303,8 +303,12 @@ pipeline {
}
}
stage("Build") {
environment {
CC=clang
CXX=clang++
}
steps {
cmakeBuild buildDir: 'build-clang-release-SSE', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no', installation: 'InSearchPath', steps: [[withEnv: 'CC=clang CXX=clang++', args: '--parallel 4', withCmake: true]]
cmakeBuild buildDir: 'build-clang-release-SSE', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
}
}
stage("Unit Test") {