From: Konstantinos Margaritis Date: Fri, 16 Sep 2022 08:54:23 +0000 (+0300) Subject: Declarative Pipeline Jenkins environment attempt X-Git-Tag: vectorscan/5.4.9~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49348520038f7cfbb2188c2a6379de96cad9742f;p=thirdparty%2Fvectorscan.git Declarative Pipeline Jenkins environment attempt --- diff --git a/Jenkinsfile b/Jenkinsfile index 2d314841..7480b771 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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") {