adds test preset and updates README.md
All checks were successful
SCC Test/pipeline/head This commit looks good

This commit is contained in:
2025-09-12 12:31:12 +02:00
parent 87d89b822b
commit 572b4a2b27
3 changed files with 13 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
"comment": "clang-format" "comment": "clang-format"
} }
], ],
"editor.formatOnSave": true,
"clangd.arguments": [ "clangd.arguments": [
"--pretty", "--pretty",
"--background-index", "--background-index",

View File

@@ -9,7 +9,7 @@
"patch": 0 "patch": 0
}, },
"configurePresets": [ "configurePresets": [
{ {
"name": "Base", "name": "Base",
"generator": "Ninja", "generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}", "binaryDir": "${sourceDir}/build/${presetName}",
@@ -43,5 +43,13 @@
"CMAKE_BUILD_TYPE": "Release" "CMAKE_BUILD_TYPE": "Release"
} }
} }
],
"testPresets": [
{
"name": "test-all",
"description": "run all test with Debug build",
"displayName": "",
"configurePreset": "Debug"
}
] ]
} }

View File

@@ -13,9 +13,9 @@ In Console:
python3 -mvenv .venv python3 -mvenv .venv
. .venv/bin/activate . .venv/bin/activate
pip3 install -r requirements.txt pip3 install -r requirements.txt
cmake -S . -B build --preset Release cmake --preset Release
cmake --build build -j30 cmake --build build/Release -j30
cmake --build build --target test cmake --build build/Release --target test