mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-09 01:38:20 +00:00
99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 12,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "default",
|
|
"displayName": "Default configure step",
|
|
"description": "Use 'build' dir and Unix makefiles",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"generator": "Unix Makefiles"
|
|
},
|
|
{
|
|
"name": "ci-ubuntu-latest",
|
|
"displayName": "CI configure step for Ubuntu",
|
|
"description": "Same as default, Used in GitHub actions workflow",
|
|
"inherits": "default"
|
|
},
|
|
{
|
|
"name": "ci-windows-latest",
|
|
"displayName": "CI configure step for Windows",
|
|
"description": "Set architecture to 64-bit (b/c RakNet)",
|
|
"inherits": "default",
|
|
"generator": "Visual Studio 16 2019",
|
|
"architecture": {
|
|
"value": "x64"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-default",
|
|
"inherits": "ci-windows-latest",
|
|
"displayName": "Windows only Configure Settings",
|
|
"description": "Sets build and install directories",
|
|
"generator": "Ninja",
|
|
"architecture": {
|
|
"value": "x64",
|
|
"strategy": "external"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "default",
|
|
"configurePreset": "default",
|
|
"displayName": "Default Build",
|
|
"description": "Default Build",
|
|
"jobs": 2
|
|
},
|
|
{
|
|
"name": "ci-windows-latest",
|
|
"configurePreset": "ci-windows-latest",
|
|
"displayName": "Windows CI Build",
|
|
"description": "This preset is used by the CI build on windows",
|
|
"configuration": "RelWithDebInfo",
|
|
"jobs": 2
|
|
},
|
|
{
|
|
"name": "ci-ubuntu-latest",
|
|
"configurePreset": "ci-ubuntu-latest",
|
|
"displayName": "Linux CI Build",
|
|
"description": "This preset is used by the CI build on linux",
|
|
"jobs": 2
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "ci-ubuntu-latest",
|
|
"configurePreset": "ci-ubuntu-latest",
|
|
"displayName": "CI Tests on Linux",
|
|
"description": "Runs all tests on a linux configuration",
|
|
"execution": {
|
|
"jobs": 2
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ci-windows-latest",
|
|
"configurePreset": "ci-windows-latest",
|
|
"displayName": "CI Tests on windows",
|
|
"description": "Runs all tests on a windows configuration",
|
|
"configuration": "RelWithDebInfo",
|
|
"execution": {
|
|
"jobs": 2
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
}
|
|
]
|
|
}
|