Skip to content

Commit

Permalink
Add CI workflow presets
Browse files Browse the repository at this point in the history
  • Loading branch information
SchaichAlonso committed Oct 19, 2023
1 parent bd5cf51 commit ffd7d73
Showing 1 changed file with 154 additions and 2 deletions.
156 changes: 154 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,89 @@
},
{
"name": "debug",
"binaryDir": "${sourceDir}/Debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
},
"inherits": [ "base" ]
},
{
"name": "release",
"binaryDir": "${sourceDir}/Release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
},
"inherits": [ "base" ]
},

{
"name": "ci",
"binaryDir": "${sourceDir}/build",
"hidden": true
},
{
"name": "ninja",
"generator": "Ninja",
"hidden": true
},
{
"name": "x64-windows",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows"
},
"hidden": true
},
{
"name": "x64-windows-static",
"cacheVariables": {
"MSVC_RUNTIME_DYNAMIC": "OFF",
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
},
"hidden": true
},
{
"name": "x64-linux",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-linux"
},
"hidden": true
},
{
"name": "x64-freebsd",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-freebsd"
},
"hidden": true
},
{
"name": "ci-ninja-x64-windows-release",
"inherits": ["ci", "ninja", "x64-windows", "release"]
},
{
"name": "ci-ninja-x64-windows-debug",
"inherits": ["ci", "ninja", "x64-windows", "debug"]
},
{
"name": "ci-ninja-x64-windows-static-release",
"inherits": ["ci", "ninja", "x64-windows-static", "release"]
},
{
"name": "ci-ninja-x64-windows-static-debug",
"inherits": ["ci", "ninja", "x64-windows-static", "debug"]
},
{
"name": "ci-ninja-x64-linux-release",
"inherits": ["ci", "ninja", "x64-linux", "release"]
},
{
"name": "ci-ninja-x64-linux-debug",
"inherits": ["ci", "ninja", "x64-linux", "debug"]
},
{
"name": "ci-ninja-x64-freebsd-release",
"inherits": ["ci", "ninja", "x64-freebsd", "release"]
},
{
"name": "ci-ninja-x64-freebsd-debug",
"inherits": ["ci", "ninja", "x64-freebsd", "debug"]
}
],
"buildPresets": [
Expand All @@ -43,6 +113,88 @@
"name": "release",
"configurePreset": "release",
"configuration": "Release"
},
{
"name": "ci-ninja-x64-windows-debug",
"configurePreset": "ci-ninja-x64-windows-debug",
"configuration": "Debug"
},
{
"name": "ci-ninja-x64-windows-release",
"configurePreset": "ci-ninja-x64-windows-release",
"configuration": "Release"
},
{
"name": "ci-ninja-x64-windows-static-debug",
"configurePreset": "ci-ninja-x64-windows-static-debug",
"configuration": "Debug"
},
{
"name": "ci-ninja-x64-windows-static-release",
"configurePreset": "ci-ninja-x64-windows-static-release",
"configuration": "Release"
},
{
"name": "ci-ninja-x64-linux-debug",
"configurePreset": "ci-ninja-x64-linux-debug",
"configuration": "Debug"
},
{
"name": "ci-ninja-x64-linux-release",
"configurePreset": "ci-ninja-x64-linux-release",
"configuration": "Release"
},
{
"name": "ci-ninja-x64-freebsd-debug",
"configurePreset": "ci-ninja-x64-freebsd-debug",
"configuration": "Debug"
},
{
"name": "ci-ninja-x64-freebsd-release",
"configurePreset": "ci-ninja-x64-freebsd-release",
"configuration": "Release"
}
],
"testPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "ci-ninja-x64-windows-debug",
"configurePreset": "ci-ninja-x64-windows-debug"
},
{
"name": "ci-ninja-x64-windows-release",
"configurePreset": "ci-ninja-x64-windows-release"
},
{
"name": "ci-ninja-x64-windows-static-debug",
"configurePreset": "ci-ninja-x64-windows-static-debug"
},
{
"name": "ci-ninja-x64-windows-static-release",
"configurePreset": "ci-ninja-x64-windows-static-release"
},
{
"name": "ci-ninja-x64-linux-debug",
"configurePreset": "ci-ninja-x64-linux-debug"
},
{
"name": "ci-ninja-x64-linux-release",
"configurePreset": "ci-ninja-x64-linux-release"
},
{
"name": "ci-ninja-x64-freebsd-debug",
"configurePreset": "ci-ninja-x64-freebsd-debug"
},
{
"name": "ci-ninja-x64-freebsd-release",
"configurePreset": "ci-ninja-x64-freebsd-release"
}
]
}

0 comments on commit ffd7d73

Please sign in to comment.