mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
add Linux debug preset
This commit is contained in:
parent
7c9f56ff76
commit
d5089b72cc
@ -18,10 +18,21 @@
|
|||||||
"displayName": "CI configure step for Ubuntu",
|
"displayName": "CI configure step for Ubuntu",
|
||||||
"description": "Same as default, Used in GitHub actions workflow",
|
"description": "Same as default, Used in GitHub actions workflow",
|
||||||
"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,9 +114,23 @@
|
|||||||
"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",
|
||||||
"execution": {
|
"configuration": "Release",
|
||||||
"jobs": 2
|
"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": {
|
||||||
|
"jobs": 2
|
||||||
|
},
|
||||||
"output": {
|
"output": {
|
||||||
"outputOnFailure": true
|
"outputOnFailure": true
|
||||||
}
|
}
|
||||||
@ -106,9 +140,9 @@
|
|||||||
"configurePreset": "ci-macos-13",
|
"configurePreset": "ci-macos-13",
|
||||||
"displayName": "CI Tests on MacOS",
|
"displayName": "CI Tests on MacOS",
|
||||||
"description": "Runs all tests on a Mac configuration",
|
"description": "Runs all tests on a Mac configuration",
|
||||||
"execution": {
|
"execution": {
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
"output": {
|
"output": {
|
||||||
"outputOnFailure": true
|
"outputOnFailure": true
|
||||||
}
|
}
|
||||||
@ -118,18 +152,18 @@
|
|||||||
"configurePreset": "ci-windows-2022",
|
"configurePreset": "ci-windows-2022",
|
||||||
"displayName": "CI Tests on windows",
|
"displayName": "CI Tests on windows",
|
||||||
"description": "Runs all tests on a windows configuration",
|
"description": "Runs all tests on a windows configuration",
|
||||||
"configuration": "RelWithDebInfo",
|
"configuration": "RelWithDebInfo",
|
||||||
"execution": {
|
"execution": {
|
||||||
"jobs": 2
|
"jobs": 2
|
||||||
},
|
},
|
||||||
"output": {
|
"output": {
|
||||||
"outputOnFailure": true
|
"outputOnFailure": true
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
"exclude": {
|
"exclude": {
|
||||||
"name": "((example)|(minigzip))+"
|
"name": "((example)|(minigzip))+"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user