From 54719da64559465afae72498807b9e80e5885f36 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Thu, 5 Sep 2019 17:25:26 +0200 Subject: [PATCH] CI: Enable SDK build and tests --- FairMQTest.cmake | 8 ++++---- Jenkinsfile | 8 ++++---- Jenkinsfile.nightly | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/FairMQTest.cmake b/FairMQTest.cmake index 77106c71..221c8b0d 100644 --- a/FairMQTest.cmake +++ b/FairMQTest.cmake @@ -29,13 +29,13 @@ Set(configure_options "${configure_options};-DCMAKE_PREFIX_PATH=$ENV{SIMPATH}") Set(configure_options "${configure_options};-DBUILD_NANOMSG_TRANSPORT=ON") # Set(configure_options "${configure_options};-DBUILD_OFI_TRANSPORT=ON") Set(configure_options "${configure_options};-DBUILD_DDS_PLUGIN=ON") -Set(configure_options "${configure_options};-DBUILD_SDK=OFF") +Set(configure_options "${configure_options};-DBUILD_SDK=ON") Set(configure_options "${configure_options};-DFAST_BUILD=ON") Set(configure_options "${configure_options};-DCOTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES=-j$ENV{number_of_processors}") Set(EXTRA_FLAGS $ENV{EXTRA_FLAGS}) If(EXTRA_FLAGS) - Set(configure_options "${configure_options};${EXTRA_FLAGS}") + Set(configure_options "${configure_options};${EXTRA_FLAGS}") EndIf() If($ENV{ctest_model} MATCHES Profile) @@ -58,7 +58,7 @@ Ctest_Configure(BUILD "${CTEST_BINARY_DIRECTORY}" Ctest_Build(BUILD "${CTEST_BINARY_DIRECTORY}") -Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}" +Ctest_Test(BUILD "${CTEST_BINARY_DIRECTORY}" # PARALLEL_LEVEL $ENV{number_of_processors} PARALLEL_LEVEL $ENV{number_of_processors} RETURN_VALUE _ctest_test_ret_val @@ -78,7 +78,7 @@ If("$ENV{do_codecov_upload}") EndIf() Ctest_Submit() - + if (_ctest_test_ret_val) Message(FATAL_ERROR "Some tests failed.") endif() diff --git a/Jenkinsfile b/Jenkinsfile index fdbc6a14..a2662f97 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,11 +22,11 @@ def jobMatrix(String prefix, List specs, Closure callback) { echo "export SIMPATH=\${SIMPATH_PREFIX}${fairsoft}" >> Dart.cfg echo "export FAIRSOFT_VERSION=${fairsoft}" >> Dart.cfg """ - if (os =~ /Debian/ && compiler =~ /gcc8/) { + if (os =~ /Debian/ && compiler =~ /gcc9/) { sh '''\ echo "source /etc/profile.d/modules.sh" >> Dart.cfg echo "module use /cvmfs/it.gsi.de/modulefiles" >> Dart.cfg - echo "module load compiler/gcc/8" >> Dart.cfg + echo "module load compiler/gcc/9.1.0" >> Dart.cfg ''' } if (os =~ /MacOS/) { @@ -66,7 +66,7 @@ pipeline{ steps{ script { def build_jobs = jobMatrix('alfa-ci/build', [ - [os: 'Debian8', arch: 'x86_64', compiler: 'gcc8.1.0', fairsoft: 'fairmq_dev'], + [os: 'Debian8', arch: 'x86_64', compiler: 'gcc9.1.0', fairsoft: 'fairmq_dev'], [os: 'MacOS10.13', arch: 'x86_64', compiler: 'AppleLLVM10.0.0', fairsoft: 'fairmq_dev'], [os: 'MacOS10.14', arch: 'x86_64', compiler: 'AppleLLVM10.0.0', fairsoft: 'fairmq_dev'], ]) { spec, label -> @@ -74,7 +74,7 @@ pipeline{ } def profile_jobs = jobMatrix('alfa-ci/codecov', [ - [os: 'Debian8', arch: 'x86_64', compiler: 'gcc8.1.0', fairsoft: 'fairmq_dev'], + [os: 'Debian8', arch: 'x86_64', compiler: 'gcc9.1.0', fairsoft: 'fairmq_dev'], ]) { spec, label -> withCredentials([string(credentialsId: 'fairmq_codecov_token', variable: 'CODECOV_TOKEN')]) { sh './Dart.sh codecov Dart.cfg' diff --git a/Jenkinsfile.nightly b/Jenkinsfile.nightly index 231e3974..54e316db 100644 --- a/Jenkinsfile.nightly +++ b/Jenkinsfile.nightly @@ -21,11 +21,11 @@ def buildMatrix(List specs, Closure callback) { echo "export SIMPATH=\${SIMPATH_PREFIX}${fairsoft}" >> Dart.cfg echo "export FAIRSOFT_VERSION=${fairsoft}" >> Dart.cfg """ - if (os =~ /Debian/ && compiler =~ /gcc8/) { + if (os =~ /Debian/ && compiler =~ /gcc9/) { sh '''\ echo "source /etc/profile.d/modules.sh" >> Dart.cfg echo "module use /cvmfs/it.gsi.de/modulefiles" >> Dart.cfg - echo "module load compiler/gcc/8" >> Dart.cfg + echo "module load compiler/gcc/9.1.0" >> Dart.cfg ''' } if (os =~ /MacOS/) { @@ -63,7 +63,7 @@ pipeline{ steps{ script { parallel(buildMatrix([ - [os: 'Debian8', arch: 'x86_64', compiler: 'gcc8.1.0', fairsoft: 'fairmq_dev'], + [os: 'Debian8', arch: 'x86_64', compiler: 'gcc9.1.0', fairsoft: 'fairmq_dev'], [os: 'MacOS10.13', arch: 'x86_64', compiler: 'AppleLLVM10.0.0', fairsoft: 'fairmq_dev'], [os: 'MacOS10.14', arch: 'x86_64', compiler: 'AppleLLVM10.0.0', fairsoft: 'fairmq_dev'], ]) { spec, label ->