diff options
Diffstat (limited to 'CMakePresets.json')
| -rw-r--r-- | CMakePresets.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json index f550e82..7c9fdd3 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -24,6 +24,19 @@ "SKIP_EXAMPLES": "ON", "BUNDLE_TOOLCHAIN": "ON" } + }, + { + "name": "ci", + "displayName": "CI build", + "description": "This preset is used by GitHub Actions to build PSn00bSDK.", + "generator": "Ninja", + "binaryDir": "${sourceDir}/../build", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release", + "BUNDLE_TOOLCHAIN": "ON", + "BUILD_INFO": "Built by GitHub Actions ($env{GITHUB_REF_NAME} $env{GITHUB_SHA})", + "PSN00BSDK_TARGET": "$env{GCC_TARGET}" + } } ] } |
