From: Matt Galbraith Date: Tue, 30 Oct 2018 17:47:13 +0000 (-0700) Subject: Add freebsd flavor to CoreCLR pipebuild X-Git-Tag: accepted/tizen/unified/20190422.045933~875^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ee60d3bdac79c6eb6d2607c4357979965258ae9;p=platform%2Fupstream%2Fcoreclr.git Add freebsd flavor to CoreCLR pipebuild --- diff --git a/buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json b/buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json new file mode 100644 index 0000000..9f6a5c0 --- /dev/null +++ b/buildpipeline/DotNet-CoreClr-Trusted-FreeBSD.json @@ -0,0 +1,324 @@ +{ + "build": [ + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Run $(Agent.BuildDirectory)/s/clean.sh", + "timeoutInMinutes": 0, + "refName": "Task1", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/clean.sh", + "arguments": "-all", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Run $(Agent.BuildDirectory)/s/sync.sh", + "timeoutInMinutes": 0, + "refName": "Task2", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/sync.sh", + "arguments": " -- /p:BuildType=$(PB_BuildType)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Run $(Agent.BuildDirectory)/s/build.sh", + "timeoutInMinutes": 0, + "refName": "Task3", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/build.sh", + "arguments": "$(PB_BuildType) $(Architecture) skipnuget -skiprestore stripSymbols -OfficialBuildId=$(OfficialBuildId) -clang6.0 -osgroup=FreeBSD", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Run $(Agent.BuildDirectory)/s/build-packages.sh", + "timeoutInMinutes": 0, + "refName": "Task4", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/build-packages.sh", + "arguments": "-BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -- /p:OfficialBuildId=$(OfficialBuildId)", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Publish packages", + "timeoutInMinutes": 0, + "refName": "Task5", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", + "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishPackages -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/pkg /p:PublishFlatContainer=$(PublishFlat) /p:OverwriteOnPublish=true", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Publish symbol packages", + "timeoutInMinutes": 0, + "refName": "Task6", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", + "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/symbolpkg /p:OverwriteOnPublish=true", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": false, + "alwaysRun": false, + "displayName": "Publish test native binaries", + "timeoutInMinutes": 0, + "refName": "Task7", + "task": { + "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "filename": "$(Agent.BuildDirectory)/s/publish-packages.sh", + "arguments": "-AzureAccount=$(CloudDropAccountName) -AzureToken=$(CloudDropAccessToken) -BuildType=$(PB_BuildType) -BuildArch=$(Architecture) -Container=$(PB_ContainerName) -distroRid=$(Rid) -PublishSymbols -PublishTestNativeBins -- /p:RelativePath=$(PB_BlobNamePrefix)$(PB_BuildType)/TestNativeBins/$(Rid)-$(Architecture) /p:OverwriteOnPublish=true", + "workingFolder": "", + "failOnStandardError": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": true, + "alwaysRun": true, + "displayName": "Copy Files to: $(Build.StagingDirectory)\\BuildLogs", + "timeoutInMinutes": 0, + "condition": "succeededOrFailed()", + "refName": "CopyFiles1", + "task": { + "id": "5bfb729a-a7c8-4a78-a7c3-8d717bb7c13c", + "versionSpec": "2.*", + "definitionType": "task" + }, + "inputs": { + "SourceFolder": "", + "Contents": "**/*.log", + "TargetFolder": "$(Build.StagingDirectory)\\BuildLogs", + "CleanTargetFolder": "false", + "OverWrite": "false", + "flattenFolders": "false" + } + }, + { + "environment": {}, + "enabled": true, + "continueOnError": true, + "alwaysRun": true, + "displayName": "Publish Artifact: BuildLogs", + "timeoutInMinutes": 0, + "condition": "succeededOrFailed()", + "refName": "PublishBuildArtifacts1", + "task": { + "id": "2ff763a7-ce83-4e1f-bc89-0ae63477cebe", + "versionSpec": "1.*", + "definitionType": "task" + }, + "inputs": { + "PathtoPublish": "$(Build.StagingDirectory)\\BuildLogs", + "ArtifactName": "BuildLogs", + "ArtifactType": "Container", + "TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)", + "Parallel": "false", + "ParallelCount": "8" + } + } + ], + "options": [ + { + "enabled": false, + "definition": { + "id": "a9db38f9-9fdc-478c-b0f9-464221e58316" + }, + "inputs": { + "workItemType": "234347", + "assignToRequestor": "true", + "additionalFields": "{}" + } + }, + { + "enabled": false, + "definition": { + "id": "57578776-4c22-4526-aeb0-86b6da17ee9c" + }, + "inputs": { + "additionalFields": "{}" + } + }, + { + "enabled": false, + "definition": { + "id": "5d58cc01-7c75-450c-be18-a388ddb129ec" + }, + "inputs": { + "branchFilters": "[\"+refs/heads/*\"]", + "additionalFields": "{}" + } + } + ], + "variables": { + "DotNetBootstrapCliTarPath": { + "value": "/dotnet-sdk-freebsd-x64.tar", + "allowOverride": true + }, + "system.debug": { + "value": "false", + "allowOverride": true + }, + "PB_BuildType": { + "value": "Release" + }, + "Architecture": { + "value": "x64" + }, + "CloudDropAccountName": { + "value": "dotnetbuildoutput" + }, + "CloudDropAccessToken": { + "value": null, + "isSecret": true + }, + "OfficialBuildId": { + "value": "$(Build.BuildNumber)" + }, + "Label": { + "value": "$(Build.BuildNumber)" + } + }, + "demands": [ + "Agent.OS -equals FreeBSD" + ], + "retentionRules": [ + { + "branches": [ + "+refs/heads/*" + ], + "artifacts": [], + "artifactTypesToDelete": [ + "FilePath", + "SymbolStore" + ], + "daysToKeep": 10, + "minimumToKeep": 1, + "deleteBuildRecord": true, + "deleteTestResults": true + } + ], + "buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)", + "jobAuthorizationScope": "projectCollection", + "jobTimeoutInMinutes": 60, + "jobCancelTimeoutInMinutes": 5, + "repository": { + "properties": { + "labelSources": "0", + "reportBuildStatus": "true", + "fetchDepth": "0", + "gitLfsSupport": "false", + "skipSyncSource": "false", + "cleanOptions": "0", + "checkoutNestedSubmodules": "false", + "labelSourcesFormat": "$(build.buildNumber)" + }, + "id": "670e3783-ab4f-44fc-9786-d332007da311", + "type": "TfsGit", + "name": "DotNet-CoreCLR-Trusted", + "url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-CoreCLR-Trusted", + "defaultBranch": "refs/heads/master", + "clean": "true", + "checkoutSubmodules": false + }, + "processParameters": {}, + "quality": "definition", + "drafts": [], + "queue": { + "_links": { + "self": { + "href": "https://devdiv.visualstudio.com/_apis/build/Queues/832" + } + }, + "id": 832, + "name": "DotNetCore-Infra", + "url": "https://devdiv.visualstudio.com/_apis/build/Queues/832", + "pool": { + "id": 135, + "name": "DotNetCore-Infra" + } + }, + "id": 1680, + "name": "DotNet-CoreClr-Trusted-FreeBSD", + "path": "\\", + "type": "build", + "queueStatus": "enabled", + "project": { + "id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee", + "name": "DevDiv", + "description": "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. ", + "url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee", + "state": "wellFormed", + "revision": 418098432, + "visibility": "organization" + } +} diff --git a/buildpipeline/pipelines.json b/buildpipeline/pipelines.json index 1b4d9b1..0cc485a 100644 --- a/buildpipeline/pipelines.json +++ b/buildpipeline/pipelines.json @@ -71,6 +71,19 @@ } }, { + "Name": "DotNet-CoreClr-Trusted-FreeBSD", + "Parameters": { + "Rid": "freebsd" + }, + "ReportingParameters": { + "OperatingSystem": "FreeBSD", + "Type": "build/product/", + "SubType": "PortableBuild", + "Architecture": "x64", + "PB_BuildType": null + } + }, + { "Name": "DotNet-CoreClr-Trusted-Windows", "Parameters": { "Architecture": "x64"