Jenkinsfile: add build job with mmapstorage as default storage
@@ -79,6 +79,12 @@ CMAKE_FLAGS_INI = [
'KDB_DEFAULT_STORAGE': 'ini'
]
+CMAKE_FLAGS_MMAP = [
+ 'KDB_DB_FILE': 'default.mmap',
+ 'KDB_DB_INIT': 'elektra.mmap',
+ 'KDB_DEFAULT_STORAGE': 'mmapstorage'
+]
+
CMAKE_FLAGS_I386 = [
'CMAKE_C_FLAGS': '-m32',
'CMAKE_CXX_FLAGS': '-m32'
@@ -566,6 +572,19 @@ def generateFullBuildStages() {
[TEST.ALL, TEST.MEM]
)
+ // Build Elektra with the mmap backend instead of the default
+ // TODO: currently not compatible with OPMPHM optimizations
+ tasks << buildAndTest(
+ "debian-stable-full-mmap",
+ DOCKER_IMAGES.stretch,
+ CMAKE_FLAGS_BUILD_ALL +
+ CMAKE_FLAGS_OPTIMIZATIONS_OFF +
+ CMAKE_FLAGS_MMAP +
+ CMAKE_FLAGS_COVERAGE
+ ,
+ [TEST.ALL, TEST.MEM]
+ )
+
// Build Elektra with xdg resolver to see if we are compliant
def xdgResolver = 'resolver_mf_xp_x'
tasks << buildAndTest(
