From e1a426547762a2b38766b65da035a5ec864025cc Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 26 Aug 2026 22:35:26 +0200 Subject: build: expand presets with release tests --- CMakePresets.json | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) (limited to 'CMakePresets.json') diff --git a/CMakePresets.json b/CMakePresets.json index 2c723a13..b26d9576 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -24,7 +24,7 @@ }, { "name": "bht", - "displayName": "Build-host Testing", + "displayName": "Build-host testing", "inherits": "base", "description": "Unit and integration tests w/ UB Sanitizer, Memory Sanitizer, and Leak Sanitizer", "cacheVariables": { @@ -35,6 +35,7 @@ }, { "name": "bht-stress", + "displayName": "Build-host stress testing", "inherits": "bht", "description": "Stress tests w/ Thread Sanitizer", "cacheVariables": { @@ -66,12 +67,26 @@ "configurePreset": "bht", "configuration": "Debug" }, + { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "configurePreset": "bht", + "configuration": "MinSizeRel" + }, { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", "description": "Stress tests", "configurePreset": "bht-stress", "configuration": "Debug" + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "configurePreset": "bht-stress", + "configuration": "Debug" } ], "testPresets": [ @@ -88,6 +103,19 @@ "jobs": 0 } }, + { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "configurePreset": "bht", + "configuration": "MinSizeRel", + "output": { + "outputOnFailure": true + }, + "execution": { + "jobs": 0 + } + }, { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", @@ -100,6 +128,19 @@ "execution": { "jobs": 0 } + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "configurePreset": "bht-stress", + "configuration": "MinSizeRel", + "output": { + "outputOnFailure": true + }, + "execution": { + "jobs": 0 + } } ], "workflowPresets": [ @@ -131,6 +172,16 @@ { "type": "test", "name": "bht-dbg" } ] }, + { + "name": "bht-rel", + "displayName": "Build-host tests (Release)", + "description": "Unit and integration tests", + "steps": [ + { "type": "configure", "name": "bht" }, + { "type": "build", "name": "bht-rel" }, + { "type": "test", "name": "bht-rel" } + ] + }, { "name": "bht-stress-dbg", "displayName": "Build-host stress tests (Debug)", @@ -140,6 +191,16 @@ { "type": "build", "name": "bht-stress-dbg" }, { "type": "test", "name": "bht-stress-dbg" } ] + }, + { + "name": "bht-stress-rel", + "displayName": "Build-host stress tests (Release)", + "description": "Stress tests", + "steps": [ + { "type": "configure", "name": "bht-stress" }, + { "type": "build", "name": "bht-stress-rel" }, + { "type": "test", "name": "bht-stress-rel" } + ] } ] } \ No newline at end of file -- cgit v1.2.3