remove default configure step from build

This commit is contained in:
Jettford 2024-12-09 18:55:04 +00:00
parent 6e1d7973f4
commit fbfbb6ab76

View File

@ -1,191 +1,134 @@
{ {
"version": 6, "version": 6,
"cmakeMinimumRequired": { "cmakeMinimumRequired": {
"major": 3, "major": 3,
"minor": 25, "minor": 25,
"patch": 0 "patch": 0
}, },
"configurePresets": [ "configurePresets": [
{ {
"name": "default", "name": "default",
"displayName": "Default configure step", "displayName": "Default configure step",
"description": "Use 'build' dir and Unix makefiles", "description": "Use 'build' dir and Unix makefiles",
"binaryDir": "${sourceDir}/build", "binaryDir": "${sourceDir}/build",
"generator": "Unix Makefiles", "generator": "Unix Makefiles",
"hidden": true "hidden": true
}, },
{ {
"name": "windows-default", "name": "windows-default",
"inherits": "default", "inherits": "default",
"displayName": "Windows Default Configure Settings", "displayName": "Windows Default Configure Settings",
"description": "Sets build and install directories", "description": "Sets build and install directories",
"generator": "Visual Studio 17 2022", "generator": "Visual Studio 17 2022",
"condition": { "condition": {
"type": "equals", "type": "equals",
"lhs": "${hostSystemName}", "lhs": "${hostSystemName}",
"rhs": "Windows" "rhs": "Windows"
}, },
"hidden": true "hidden": true
}, },
{ {
"name": "windows-msvc", "name": "windows-msvc",
"inherits": "windows-default", "inherits": "windows-default",
"displayName": "Windows (MSVC)", "displayName": "Windows (MSVC)",
"description": "Create a build using MSVC" "description": "Create a build using MSVC"
}, },
{ {
"name": "windows-clang", "name": "windows-clang",
"inherits": "windows-default", "inherits": "windows-default",
"displayName": "EXPERIMENTAL - Windows (Clang)", "displayName": "EXPERIMENTAL - Windows (Clang)",
"description": "Create a build using Clang", "description": "Create a build using Clang",
"toolset": "ClangCL" "toolset": "ClangCL"
}, },
{ {
"name": "linux-default", "name": "linux-default",
"inherits": "default", "inherits": "default",
"hidden": true, "hidden": true,
"condition": { "condition": {
"type": "equals", "type": "equals",
"lhs": "${hostSystemName}", "lhs": "${hostSystemName}",
"rhs": "Linux" "rhs": "Linux"
} }
}, },
{ {
"name": "linux-clang", "name": "linux-clang",
"inherits": "linux-default", "inherits": "linux-default",
"toolchainFile": "${sourceDir}/cmake/toolchains/linux-clang.cmake", "toolchainFile": "${sourceDir}/cmake/toolchains/linux-clang.cmake",
"displayName": "Linux (Clang)", "displayName": "Linux (Clang)",
"description": "Create a build using the Clang toolchain for Linux" "description": "Create a build using the Clang toolchain for Linux"
}, },
{ {
"name": "linux-gnu", "name": "linux-gnu",
"inherits": "linux-default", "inherits": "linux-default",
"toolchainFile": "${sourceDir}/cmake/toolchains/linux-gnu.cmake", "toolchainFile": "${sourceDir}/cmake/toolchains/linux-gnu.cmake",
"displayName": "Linux (GNU)", "displayName": "Linux (GNU)",
"description": "Create a build using the GNU toolchain for Linux" "description": "Create a build using the GNU toolchain for Linux"
}, },
{ {
"name": "macos", "name": "macos",
"inherits": "default", "inherits": "default",
"displayName": "MacOS", "displayName": "MacOS",
"description": "Create a build for MacOS", "description": "Create a build for MacOS",
"condition": { "condition": {
"type": "equals", "type": "equals",
"lhs": "${hostSystemName}", "lhs": "${hostSystemName}",
"rhs": "Darwin" "rhs": "Darwin"
} }
} }
], ],
"buildPresets": [ "buildPresets": [
{ {
"name": "default", "name": "default",
"configurePreset": "default", "displayName": "Default Build",
"displayName": "Default Build", "description": "Default Build",
"description": "Default Build", "jobs": 2
"jobs": 2 }
} ],
], "testPresets": [
"testPresets": [ {
{ "name": "ci-ubuntu-22.04",
"name": "ci-ubuntu-22.04", "configurePreset": "linux-gnu",
"configurePreset": "linux-clang", "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": {
"execution": { "jobs": 2
"jobs": 2 },
}, "output": {
"output": { "outputOnFailure": true
"outputOnFailure": true }
} },
}, {
{ "name": "ci-macos-13",
"name": "ci-macos-13", "configurePreset": "macos",
"configurePreset": "macos", "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 }
} },
}, {
{ "name": "ci-windows-2022",
"name": "ci-windows-2022", "configurePreset": "windows-msvc",
"configurePreset": "windows-msvc", "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))+" }
} }
} }
} ],
], "workflowPresets": [
"workflowPresets": [
{ ]
"name": "ci-windows-2022",
"displayName": "Windows (MSVC)",
"description": "CI workflow preset for Windows",
"steps": [
{
"type": "configure",
"name": "windows-msvc"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "ci-windows-2022"
}
]
},
{
"name": "ci-ubuntu-22.04",
"displayName": "Linux (GNU)",
"description": "CI workflow preset for Ubuntu",
"steps": [
{
"type": "configure",
"name": "linux-gnu"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "ci-ubuntu-22.04"
}
]
},
{
"name": "ci-macos-13",
"displayName": "MacOS (Clang)",
"description": "CI workflow preset for MacOS",
"steps": [
{
"type": "configure",
"name": "macos"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "ci-macos-13"
}
]
}
]
} }