Skip to content

Commit

Permalink
Nuke: update the build schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Nov 7, 2024
1 parent 3446031 commit 392a6cd
Showing 1 changed file with 89 additions and 92 deletions.
181 changes: 89 additions & 92 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,60 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"type": "object",
"Host": {
"type": "string",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
},
"ExecutableTarget": {
"type": "string",
"enum": [
"Clean",
"CompileAll",
"ForceClear",
"PackAllCompilerBundles",
"PackCompilerBundle",
"PackSdk",
"PackTemplates",
"PublishAllCompilerBundles",
"PublishCompilerBundle",
"RestoreAll",
"TestAll",
"TestCodeGen",
"TestCompiler",
"TestIntegration",
"TestParser",
"TestRuntime",
"TestSdk"
]
},
"Verbosity": {
"type": "string",
"description": "",
"enum": [
"Verbose",
"Normal",
"Minimal",
"Quiet"
]
},
"NukeBuild": {
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' or 'Release'",
"enum": [
"Debug",
"Release"
]
},
"Continue": {
"type": "boolean",
"description": "Indicates to continue a previously failed build attempt"
Expand All @@ -23,25 +64,8 @@
"description": "Shows the help text for this build assembly"
},
"Host": {
"type": "string",
"description": "Host for execution. Default is 'automatic'",
"enum": [
"AppVeyor",
"AzurePipelines",
"Bamboo",
"Bitbucket",
"Bitrise",
"GitHubActions",
"GitLab",
"Jenkins",
"Rider",
"SpaceAutomation",
"TeamCity",
"Terminal",
"TravisCI",
"VisualStudio",
"VSCode"
]
"$ref": "#/definitions/Host"
},
"NoLogo": {
"type": "boolean",
Expand All @@ -62,89 +86,62 @@
"type": "string"
}
},
"PublishAot": {
"type": "boolean",
"description": "If set to true, publishes compiler packs in AOT mode"
},
"Root": {
"type": "string",
"description": "Root directory during build execution"
},
"RuntimeId": {
"type": "string",
"description": "If set, only executes targets for a specified runtime identifier. Provided RID must be included in <RuntimeIdentifiers> property of Cesium.Compiler project"
},
"Skip": {
"type": "array",
"description": "List of targets to be skipped. Empty list skips all dependencies",
"items": {
"type": "string",
"enum": [
"Clean",
"CompileAll",
"ForceClear",
"PackAllCompilerBundles",
"PackCompilerBundle",
"PackSdk",
"PackTemplates",
"PublishAllCompilerBundles",
"PublishCompilerBundle",
"RestoreAll",
"TestAll",
"TestCodeGen",
"TestCompiler",
"TestIntegration",
"TestParser",
"TestRuntime",
"TestSdk"
]
"$ref": "#/definitions/ExecutableTarget"
}
},
"SkipCaches": {
"type": "boolean",
"description": "If set to true, ignores all cached build results. Default: false"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
},
"Target": {
"type": "array",
"description": "List of targets to be invoked. Default is '{default_target}'",
"items": {
"type": "string",
"enum": [
"Clean",
"CompileAll",
"ForceClear",
"PackAllCompilerBundles",
"PackCompilerBundle",
"PackSdk",
"PackTemplates",
"PublishAllCompilerBundles",
"PublishCompilerBundle",
"RestoreAll",
"TestAll",
"TestCodeGen",
"TestCompiler",
"TestIntegration",
"TestParser",
"TestRuntime",
"TestSdk"
]
"$ref": "#/definitions/ExecutableTarget"
}
},
"Verbosity": {
"type": "string",
"description": "Logging verbosity during build execution. Default is 'Normal'",
"$ref": "#/definitions/Verbosity"
}
}
}
},
"allOf": [
{
"properties": {
"Configuration": {
"type": "string",
"description": "Configuration to build - Default is 'Debug' or 'Release'",
"enum": [
"Minimal",
"Normal",
"Quiet",
"Verbose"
"Debug",
"Release"
]
},
"PublishAot": {
"type": "boolean",
"description": "If set to true, publishes compiler packs in AOT mode"
},
"RuntimeId": {
"type": "string",
"description": "If set, only executes targets for a specified runtime identifier. Provided RID must be included in <RuntimeIdentifiers> property of Cesium.Compiler project"
},
"SkipCaches": {
"type": "boolean",
"description": "If set to true, ignores all cached build results. Default: false"
},
"Solution": {
"type": "string",
"description": "Path to a solution file that is automatically loaded"
}
}
},
{
"$ref": "#/definitions/NukeBuild"
}
}
]
}

0 comments on commit 392a6cd

Please sign in to comment.