mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 05:27:19 +00:00
add Linux debug preset
This commit is contained in:
parent
7c9f56ff76
commit
d5089b72cc
@ -20,8 +20,19 @@
|
|||||||
"inherits": "default",
|
"inherits": "default",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "debug-ubuntu-22.04",
|
||||||
|
"displayName": "Debug configure step for Ubuntu",
|
||||||
|
"description": "Used to generate debug configuration for Ubuntu",
|
||||||
|
"inherits": "default",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||||||
"CMAKE_CXX_FLAGS_INIT": "-O2"
|
"CMAKE_CXX_FLAGS_INIT" : "-Og",
|
||||||
|
"CMAKE_C_FLAGS_INIT" : "-Og"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -65,6 +76,22 @@
|
|||||||
"description": "Default Build",
|
"description": "Default Build",
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "ci-ubuntu-22.04",
|
||||||
|
"configurePreset": "ci-ubuntu-22.04",
|
||||||
|
"displayName": "Linux CI Build",
|
||||||
|
"description": "This preset is used by the CI build on linux",
|
||||||
|
"configuration": "Release",
|
||||||
|
"jobs": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "debug-ubuntu-22.04",
|
||||||
|
"configurePreset": "debug-ubuntu-22.04",
|
||||||
|
"displayName": "Linux Debug Build ",
|
||||||
|
"description": "This preset is used to debug the build on linux",
|
||||||
|
"configuration": "Debug",
|
||||||
|
"jobs": 2
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ci-windows-2022",
|
"name": "ci-windows-2022",
|
||||||
"configurePreset": "ci-windows-2022",
|
"configurePreset": "ci-windows-2022",
|
||||||
@ -73,13 +100,6 @@
|
|||||||
"configuration": "Release",
|
"configuration": "Release",
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "ci-ubuntu-22.04",
|
|
||||||
"configurePreset": "ci-ubuntu-22.04",
|
|
||||||
"displayName": "Linux CI Build",
|
|
||||||
"description": "This preset is used by the CI build on linux",
|
|
||||||
"jobs": 2
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "ci-macos-13",
|
"name": "ci-macos-13",
|
||||||
"configurePreset": "ci-macos-13",
|
"configurePreset": "ci-macos-13",
|
||||||
@ -94,6 +114,20 @@
|
|||||||
"configurePreset": "ci-ubuntu-22.04",
|
"configurePreset": "ci-ubuntu-22.04",
|
||||||
"displayName": "CI Tests on Linux",
|
"displayName": "CI Tests on Linux",
|
||||||
"description": "Runs all tests on a linux configuration",
|
"description": "Runs all tests on a linux configuration",
|
||||||
|
"configuration": "Release",
|
||||||
|
"execution": {
|
||||||
|
"jobs": 2
|
||||||
|
},
|
||||||
|
"output": {
|
||||||
|
"outputOnFailure": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "debug-ubuntu-22.04",
|
||||||
|
"configurePreset": "debug-ubuntu-22.04",
|
||||||
|
"displayName": "Debug Tests on Linux",
|
||||||
|
"description": "Runs all tests on a linux configuration",
|
||||||
|
"configuration": "Debug",
|
||||||
"execution": {
|
"execution": {
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user