2021-12-16 19:29:48 +00:00
|
|
|
{
|
|
|
|
"version": 3,
|
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
"major": 3,
|
2022-01-17 11:46:33 +00:00
|
|
|
"minor": 14,
|
2021-12-16 19:29:48 +00:00
|
|
|
"patch": 0
|
|
|
|
},
|
|
|
|
"configurePresets": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "Default configure step",
|
|
|
|
"description": "Use 'build' dir and Unix makefiles",
|
2021-12-16 19:29:48 +00:00
|
|
|
"binaryDir": "${sourceDir}/build",
|
|
|
|
"generator": "Unix Makefiles"
|
2022-01-01 09:38:45 +00:00
|
|
|
},
|
2022-01-05 09:06:34 +00:00
|
|
|
{
|
2022-01-05 13:23:28 +00:00
|
|
|
"name": "ci-ubuntu-20.04",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "CI configure step for Ubuntu",
|
|
|
|
"description": "Same as default, Used in GitHub actions workflow",
|
|
|
|
"inherits": "default"
|
|
|
|
},
|
2022-07-16 21:55:54 +00:00
|
|
|
{
|
|
|
|
"name": "ci-macos-11",
|
|
|
|
"displayName": "CI configure step for MacOS",
|
|
|
|
"description": "Same as default, Used in GitHub actions workflow",
|
|
|
|
"inherits": "default",
|
|
|
|
"cacheVariables": {
|
|
|
|
"OPENSSL_ROOT_DIR": "/usr/local/Cellar/openssl@3/3.0.5/"
|
|
|
|
}
|
|
|
|
},
|
2022-01-05 09:06:34 +00:00
|
|
|
{
|
2022-01-05 13:21:59 +00:00
|
|
|
"name": "ci-windows-2022",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "CI configure step for Windows",
|
|
|
|
"description": "Set architecture to 64-bit (b/c RakNet)",
|
|
|
|
"inherits": "default",
|
2022-01-05 13:21:59 +00:00
|
|
|
"generator": "Visual Studio 17 2022",
|
2022-01-05 09:06:34 +00:00
|
|
|
"architecture": {
|
|
|
|
"value": "x64"
|
|
|
|
},
|
|
|
|
"cacheVariables": {
|
|
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
|
|
}
|
|
|
|
},
|
2022-01-01 09:38:45 +00:00
|
|
|
{
|
|
|
|
"name": "windows-default",
|
2022-01-05 13:21:59 +00:00
|
|
|
"inherits": "ci-windows-2022",
|
2022-01-01 09:38:45 +00:00
|
|
|
"displayName": "Windows only Configure Settings",
|
|
|
|
"description": "Sets build and install directories",
|
|
|
|
"generator": "Ninja",
|
|
|
|
"architecture": {
|
|
|
|
"value": "x64",
|
|
|
|
"strategy": "external"
|
|
|
|
}
|
2021-12-16 19:29:48 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"buildPresets": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"configurePreset": "default",
|
|
|
|
"displayName": "Default Build",
|
|
|
|
"description": "Default Build",
|
|
|
|
"jobs": 2
|
2022-01-05 09:06:34 +00:00
|
|
|
},
|
|
|
|
{
|
2022-01-05 13:21:59 +00:00
|
|
|
"name": "ci-windows-2022",
|
|
|
|
"configurePreset": "ci-windows-2022",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "Windows CI Build",
|
|
|
|
"description": "This preset is used by the CI build on windows",
|
|
|
|
"configuration": "RelWithDebInfo",
|
|
|
|
"jobs": 2
|
|
|
|
},
|
|
|
|
{
|
2022-01-05 13:23:28 +00:00
|
|
|
"name": "ci-ubuntu-20.04",
|
|
|
|
"configurePreset": "ci-ubuntu-20.04",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "Linux CI Build",
|
|
|
|
"description": "This preset is used by the CI build on linux",
|
|
|
|
"jobs": 2
|
2022-07-16 21:55:54 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "ci-macos-11",
|
|
|
|
"configurePreset": "ci-macos-11",
|
|
|
|
"displayName": "MacOS CI Build",
|
|
|
|
"description": "This preset is used by the CI build on MacOS",
|
|
|
|
"jobs": 2
|
2021-12-16 19:29:48 +00:00
|
|
|
}
|
2022-01-03 15:25:47 +00:00
|
|
|
],
|
|
|
|
"testPresets": [
|
|
|
|
{
|
2022-01-05 13:23:28 +00:00
|
|
|
"name": "ci-ubuntu-20.04",
|
|
|
|
"configurePreset": "ci-ubuntu-20.04",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "CI Tests on Linux",
|
|
|
|
"description": "Runs all tests on a linux configuration",
|
|
|
|
"execution": {
|
|
|
|
"jobs": 2
|
|
|
|
},
|
|
|
|
"output": {
|
|
|
|
"outputOnFailure": true
|
|
|
|
}
|
|
|
|
},
|
2022-07-16 21:55:54 +00:00
|
|
|
{
|
|
|
|
"name": "ci-macos-11",
|
|
|
|
"configurePreset": "ci-macos-11",
|
|
|
|
"displayName": "CI Tests on MacOS",
|
|
|
|
"description": "Runs all tests on a Mac configuration",
|
|
|
|
"execution": {
|
|
|
|
"jobs": 2
|
|
|
|
},
|
|
|
|
"output": {
|
|
|
|
"outputOnFailure": true
|
|
|
|
}
|
|
|
|
},
|
2022-01-05 09:06:34 +00:00
|
|
|
{
|
2022-01-05 13:21:59 +00:00
|
|
|
"name": "ci-windows-2022",
|
|
|
|
"configurePreset": "ci-windows-2022",
|
2022-01-05 09:06:34 +00:00
|
|
|
"displayName": "CI Tests on windows",
|
|
|
|
"description": "Runs all tests on a windows configuration",
|
|
|
|
"configuration": "RelWithDebInfo",
|
2022-09-06 03:28:47 +00:00
|
|
|
"execution": {
|
|
|
|
"jobs": 2
|
|
|
|
},
|
|
|
|
"filter": {
|
|
|
|
"exclude": {
|
|
|
|
"name": "((example)|(minigzip))+"
|
|
|
|
}
|
|
|
|
},
|
2022-01-03 15:25:47 +00:00
|
|
|
"output": {
|
|
|
|
"outputOnFailure": true
|
|
|
|
}
|
|
|
|
}
|
2021-12-16 19:29:48 +00:00
|
|
|
]
|
|
|
|
}
|