content stringlengths 1 103k ⌀ | path stringlengths 8 216 | filename stringlengths 2 179 | language stringclasses 15
values | size_bytes int64 2 189k | quality_score float64 0.5 0.95 | complexity float64 0 1 | documentation_ratio float64 0 1 | repository stringclasses 5
values | stars int64 0 1k | created_date stringdate 2023-07-10 19:21:08 2025-07-09 19:11:45 | license stringclasses 4
values | is_test bool 2
classes | file_hash stringlengths 32 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
parameters:\n steps: [] # optional -- any additional steps that need to happen before pulling down the jitutils repo and sending the jitutils to helix (ie building your repo)\n variables: [] # optional -- list of additional variables to send to the template\n jobName: '' # required -- job name\n displayName: '' # optional -- display name for the job. Will use jobName if not passed\n pool: '' # required -- name of the Build pool\n container: '' # required -- name of the container\n buildConfig: '' # required -- build configuration\n archType: '' # required -- targeting CPU architecture\n osGroup: '' # required -- operating system for the job\n osSubgroup: '' # optional -- operating system subgroup\n crossBuild: '' # optional -- 'true' if this is a cross-build\n continueOnError: 'false' # optional -- determines whether to continue the build if the step errors\n dependsOn: '' # optional -- dependencies of the job\n timeoutInMinutes: 320 # optional -- timeout for the job\n enableTelemetry: false # optional -- enable for telemetry\n liveLibrariesBuildConfig: '' # optional -- live-live libraries configuration to use for the run\n helixQueues: '' # required -- Helix queues\n replayType: 'standard' # required -- 'standard', 'apx'\n\njobs:\n- template: /eng/pipelines/common/templates/runtimes/xplat-job.yml\n parameters:\n dependsOn: ${{ parameters.dependsOn }}\n buildConfig: ${{ parameters.buildConfig }}\n archType: ${{ parameters.archType }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n crossBuild: ${{ parameters.crossBuild }}\n liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }}\n enableTelemetry: ${{ parameters.enableTelemetry }}\n enablePublishBuildArtifacts: true\n continueOnError: ${{ parameters.continueOnError }}\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n\n ${{ if ne(parameters.displayName, '') }}:\n displayName: '${{ parameters.displayName }}'\n ${{ if eq(parameters.displayName, '') }}:\n displayName: '${{ parameters.jobName }}'\n\n variables:\n - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml\n parameters:\n runtimeFlavor: coreclr\n testGroup: ${{ parameters.testGroup }}\n liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }}\n\n - ${{ each variable in parameters.variables }}:\n - ${{insert}}: ${{ variable }}\n\n - name: replayType\n value: ${{ parameters.replayType }}\n\n - template: /eng/pipelines/coreclr/templates/jit-python-variables.yml\n parameters:\n osGroup: ${{ parameters.osGroup }}\n\n - name: SpmiCollectionLocation\n value: '$(Build.SourcesDirectory)\artifacts\spmi\'\n - name: SpmiLogsLocation\n value: '$(Build.SourcesDirectory)\artifacts\spmi_logs\'\n - name: HelixResultLocation\n value: '$(Build.SourcesDirectory)\artifacts\helixresults\'\n\n workspace:\n clean: all\n pool:\n ${{ parameters.pool }}\n container: ${{ parameters.container }}\n steps:\n - ${{ parameters.steps }}\n\n - script: $(PythonSetupScript)\n displayName: Enable python venv\n\n - script: |\n mkdir $(SpmiCollectionLocation)\n mkdir $(SpmiLogsLocation)\n displayName: Create directories\n\n - script: $(PythonScript) $(Build.SourcesDirectory)/src/coreclr/scripts/superpmi_replay_setup.py -source_directory $(Build.SourcesDirectory) -product_directory $(buildProductRootFolderPath) -type $(replayType) -arch $(archType)\n displayName: ${{ format('SuperPMI replay setup ({0} {1})', parameters.replayType, parameters.archType) }}\n\n # Run superpmi replay in helix\n - template: /eng/pipelines/common/templates/runtimes/send-to-helix-step.yml\n parameters:\n displayName: 'Send job to Helix'\n helixBuild: $(Build.BuildNumber)\n helixSource: $(_HelixSource)\n helixType: 'build/tests/'\n helixQueues: ${{ join(',', parameters.helixQueues) }}\n creator: dotnet-bot\n WorkItemTimeout: 4:00 # 4 hours\n WorkItemDirectory: '$(WorkItemDirectory)'\n CorrelationPayloadDirectory: '$(CorrelationPayloadDirectory)'\n helixProjectArguments: '$(Build.SourcesDirectory)/src/coreclr/scripts/superpmi-replay.proj'\n BuildConfig: ${{ parameters.buildConfig }}\n osGroup: ${{ parameters.osGroup }}\n archType: ${{ parameters.archType }}\n SuperPmiReplayType: ${{ parameters.replayType }}\n\n # Always upload the available logs for diagnostics\n - task: CopyFiles@2\n displayName: Copying superpmi.log of all partitions\n inputs:\n sourceFolder: '$(HelixResultLocation)'\n contents: '**/superpmi_*.log'\n targetFolder: '$(SpmiLogsLocation)'\n condition: always()\n\n - task: PublishPipelineArtifact@1\n displayName: Publish SuperPMI logs\n inputs:\n targetPath: $(SpmiLogsLocation)\n artifactName: 'SuperPMI_Logs_$(archType)_$(buildConfig)_Attempt$(System.JobAttempt)'\n condition: always()\n continueOnError: true\n\n - task: PublishPipelineArtifact@1\n displayName: Publish SuperPMI build logs\n inputs:\n targetPath: $(Build.SourcesDirectory)/artifacts/log\n artifactName: 'SuperPMI_BuildLogs_$(archType)_$(buildConfig)_Attempt$(System.JobAttempt)'\n condition: always()\n continueOnError: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\run-superpmi-replay-job.yml | run-superpmi-replay-job.yml | YAML | 5,630 | 0.95 | 0.088 | 0.018182 | node-utils | 454 | 2023-08-23T07:06:34.154244 | BSD-3-Clause | false | 1bed21f9f551b681b1fc17760a67f980 |
parameters:\n buildConfig: '' # required -- build configuration\n archType: '' # required -- targeting CPU architecture\n osGroup: '' # required -- operating system for the job\n osSubgroup: '' # optional -- operating system subgroup\n pool: ''\n timeoutInMinutes: 320 # build timeout\n variables: {}\n helixQueues: ''\n runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-asmdiffs-checked-release-job.yml'\n\njobs:\n- template: ${{ parameters.runJobTemplate }}\n parameters:\n jobName: ${{ format('superpmi_asmdiffs_checked_release_{0}{1}_{2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }}\n displayName: ${{ format('SuperPMI asmdiffs checked release {0}{1} {2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }}\n pool: ${{ parameters.pool }}\n buildConfig: ${{ parameters.buildConfig }}\n archType: ${{ parameters.archType }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n helixQueues: ${{ parameters.helixQueues }}\n dependsOn:\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_checked_'\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_release_'\n\n variables:\n - ${{ each variable in parameters.variables }}:\n - ${{insert}}: ${{ variable }}\n\n - name: releaseProductRootFolderPath\n value: '$(Build.SourcesDirectory)/artifacts/bin/coreclr/$(osGroup).$(archType).Release'\n\n steps:\n # Download jit checked builds\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr\n artifactFileName: 'CheckedJIT_$(osGroup)$(osSubgroup)_$(archType)$(archiveExtension)'\n artifactName: 'CheckedJIT_$(osGroup)$(osSubgroup)_$(archType)'\n displayName: 'JIT checked build'\n cleanUnpackFolder: false\n\n # Download jit release builds\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr\n artifactFileName: 'ReleaseJIT_$(osGroup)$(osSubgroup)_$(archType)$(archiveExtension)'\n artifactName: 'ReleaseJIT_$(osGroup)$(osSubgroup)_$(archType)'\n displayName: 'JIT release build'\n cleanUnpackFolder: false\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-asmdiffs-checked-release-job.yml | superpmi-asmdiffs-checked-release-job.yml | YAML | 2,490 | 0.95 | 0.019231 | 0.042553 | awesome-app | 281 | 2023-09-19T15:45:38.262124 | GPL-3.0 | false | b4767d896b9c0c755499dab06113a053 |
parameters:\n buildConfig: ''\n archType: ''\n osGroup: ''\n osSubgroup: ''\n container: ''\n liveLibrariesBuildConfig: ''\n crossBuild: ''\n variables: {}\n pool: ''\n runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-collect-job.yml'\n collectionType: ''\n collectionName: ''\n\n### SuperPMI job\n### Each collection job depends on a corresponding build job with the same buildConfig and archType.\n\njobs:\n- template: ${{ parameters.runJobTemplate }}\n parameters:\n # Compute job name from template parameters\n jobName: ${{ format('superpmi_collect_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}\n displayName: ${{ format('SuperPMI collect {4} {5} {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig, parameters.collectionName, parameters.collectionType) }}\n pool: ${{ parameters.pool }}\n buildConfig: ${{ parameters.buildConfig }}\n archType: ${{ parameters.archType }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n container: ${{ parameters.container }}\n crossBuild: ${{ parameters.crossBuild }}\n liveLibrariesBuildConfig: ${{ parameters.liveLibrariesBuildConfig }}\n collectionType: ${{ parameters.collectionType }}\n collectionName: ${{ parameters.collectionName }}\n # Test job depends on the corresponding build job\n dependsOn:\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_'\n - ${{ if eq(parameters.collectionName, 'coreclr_tests') }}:\n - 'coreclr_common_test_build_p1_AnyOS_AnyCPU_${{parameters.buildConfig }}'\n\n variables:\n\n - name: crossArg\n value: ''\n - ${{ if eq(parameters.crossBuild, true) }}:\n - name: crossArg\n value: '-cross'\n\n - ${{ each variable in parameters.variables }}:\n - ${{insert}}: ${{ variable }}\n\n steps:\n # Extra steps that will be passed to the superpmi template and run before sending the job to helix (all of which is done in the template)\n\n # Download runtime artifacts\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin\n artifactFileName: 'BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)$(archiveExtension)'\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n displayName: 'Runtime build artifacts'\n\n # Unzip individual test projects\n - ${{ if eq(parameters.collectionName, 'libraries_tests') }}:\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: '$(Build.SourcesDirectory)/artifacts/helix/'\n artifactFileName: 'LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)$(archiveExtension)'\n artifactName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n displayName: 'Libraries test artifacts'\n - task: ExtractFiles@1\n displayName: 'Unzip libraries tests'\n inputs:\n archiveFilePatterns: '$(Build.SourcesDirectory)/artifacts/helix/**/*.zip'\n destinationFolder: '$(Build.SourcesDirectory)/artifacts/tests/libraries/$(osGroup).$(archType).$(buildConfigUpper)'\n cleanDestinationFolder: true\n overwriteExistingFiles: true\n\n # Download and unzip managed test artifacts\n - ${{ if eq(parameters.collectionName, 'coreclr_tests') }}:\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: '$(managedTestArtifactRootFolderPath)'\n artifactFileName: '$(managedGenericTestArtifactName).tar.gz'\n artifactName: '$(managedGenericTestArtifactName)'\n displayName: 'generic managed test artifacts'\n\n # Create Core_Root\n - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(buildConfig) $(archType) $(crossArg) generatelayoutonly $(librariesOverrideArg)\n displayName: Create Core_Root\n condition: succeeded()\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-collect-job.yml | superpmi-collect-job.yml | YAML | 4,129 | 0.8 | 0.044444 | 0.1125 | python-kit | 547 | 2024-05-17T16:51:21.180285 | MIT | false | 484420a1a764a65a3d287b5650d436d1 |
# This template definition automates the SuperPMI collection process,\n# and is used by the SuperPMI pipeline definitions.\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: checked\n platforms:\n - windows_x64\n - linux_x64\n jobParameters:\n testGroup: outerloop\n buildArgs: -s clr+libs+libs.tests -rc $(_BuildConfig) -c Release /p:ArchiveTests=true\n timeoutInMinutes: 120\n postBuildSteps:\n - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/helix\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml\n parameters:\n testGroup: outerloop\n disableComponentGovernance: true # No shipping artifacts produced by this pipeline\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: checked\n platforms:\n - windows_x86\n - windows_arm64\n - osx_arm64\n jobParameters:\n testGroup: outerloop\n buildArgs: -s clr+libs+libs.tests -rc $(_BuildConfig) -c Release /p:ArchiveTests=true\n timeoutInMinutes: 120\n postBuildSteps:\n # Build CLR assets for x64 as well as the target as we need an x64 mcs\n - template: /eng/pipelines/common/templates/global-build-step.yml\n parameters:\n buildArgs: -s clr.spmi -c $(_BuildConfig)\n archParameter: -arch x64\n displayName: Build SuperPMI\n - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/helix\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml\n parameters:\n testGroup: outerloop\n disableComponentGovernance: true # No shipping artifacts produced by this pipeline\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: checked\n platforms:\n - linux_arm\n - linux_arm64\n jobParameters:\n testGroup: outerloop\n buildArgs: -s clr+libs+libs.tests -rc $(_BuildConfig) -c Release /p:ArchiveTests=true\n timeoutInMinutes: 120\n postBuildSteps:\n # Build CLR assets for x64 as well as the target as we need an x64 mcs\n - template: /eng/pipelines/common/templates/global-build-step.yml\n parameters:\n buildArgs: -s clr.spmi -c $(_BuildConfig)\n archParameter: -arch x64\n container: linux_x64\n displayName: Build SuperPMI\n - template: /eng/pipelines/coreclr/templates/build-native-test-assets-step.yml\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/helix\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/native-test-assets-variables.yml\n parameters:\n testGroup: outerloop\n disableComponentGovernance: true # No shipping artifacts produced by this pipeline\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/templates/runtimes/build-test-job.yml\n buildConfig: checked\n platforms:\n - CoreClrTestBuildHost # Either osx_x64 or linux_x64\n jobParameters:\n testGroup: outerloop\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: pmi\n collectionName: libraries\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: crossgen2\n collectionName: libraries\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: run\n collectionName: realworld\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: run\n collectionName: benchmarks\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: run_pgo\n collectionName: benchmarks\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: run_pgo_optrepeat\n collectionName: benchmarks\n\n #\n # Collection of coreclr test run\n #\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml\n buildConfig: checked\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: superpmi\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n SuperPmiCollect: true\n unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/coreclr/templates/superpmi-collect-job.yml\n buildConfig: checked\n platforms:\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_arm64\n helixQueueGroup: ci\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testGroup: outerloop\n liveLibrariesBuildConfig: Release\n collectionType: nativeaot\n collectionName: smoke_tests\n\n #\n # Collection of libraries test run: normal\n # Libraries Test Run using Release libraries, and Checked CoreCLR\n #\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/libraries/run-test-job.yml\n buildConfig: Release\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: superpmi\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testScope: innerloop\n liveRuntimeBuildConfig: Checked\n dependsOnTestBuildConfiguration: Release\n dependsOnTestArchitecture: x64\n scenarios:\n - normal\n SuperPmiCollect: true\n SuperPmiCollectionName: libraries_tests\n unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_Checked\n helixArtifactsName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_Checked\n unifiedBuildConfigOverride: checked\n # Default timeout is 150 minutes, which is too low for osx-arm64 queue.\n timeoutInMinutes: 300\n\n #\n # Collection of libraries test run: no_tiered_compilation\n # Libraries Test Run using Release libraries, and Checked CoreCLR\n #\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/libraries/run-test-job.yml\n buildConfig: Release\n platforms:\n - osx_arm64\n - linux_arm\n - linux_arm64\n - linux_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueueGroup: superpmi\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n jobParameters:\n testScope: innerloop\n liveRuntimeBuildConfig: Checked\n dependsOnTestBuildConfiguration: Release\n dependsOnTestArchitecture: x64\n scenarios:\n - no_tiered_compilation\n SuperPmiCollect: true\n SuperPmiCollectionName: libraries_tests_no_tiered_compilation\n unifiedArtifactsName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_Checked\n helixArtifactsName: LibrariesTestArtifacts_$(osGroup)$(osSubgroup)_$(archType)_Checked\n unifiedBuildConfigOverride: checked\n # Default timeout is 150 minutes, which is too low for osx-arm64 queue.\n timeoutInMinutes: 300\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-collect-pipeline.yml | superpmi-collect-pipeline.yml | YAML | 14,858 | 0.8 | 0.011019 | 0.048851 | awesome-app | 292 | 2025-04-23T11:05:23.087778 | GPL-3.0 | false | 0bf70e3b5c3696fc3d0435a368c03883 |
parameters:\n buildConfig: '' # required -- build configuration\n archType: '' # required -- targeting CPU architecture\n osGroup: '' # required -- operating system for the job\n osSubgroup: '' # optional -- operating system subgroup\n condition: true\n pool: ''\n timeoutInMinutes: 360 # build timeout\n variables: {}\n helixQueues: ''\n runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-diffs-job.yml'\n diffType: 'asmdiffs' # required -- 'asmdiffs', 'tpdiff', or 'all'\n baseJitOptions: '' # e.g. JitStressModeNames=STRESS_PHYSICAL_PROMOTION;JitFullyInt=1\n diffJitOptions: ''\n\njobs:\n- template: ${{ parameters.runJobTemplate }}\n parameters:\n jobName: ${{ format('superpmi_diffs_{0}_{1}{2}_{3}', parameters.diffType, parameters.osGroup, parameters.osSubgroup, parameters.archType) }}\n displayName: ${{ format('SuperPMI {0} {1}{2} {3}', parameters.diffType, parameters.osGroup, parameters.osSubgroup, parameters.archType) }}\n pool: ${{ parameters.pool }}\n buildConfig: ${{ parameters.buildConfig }}\n archType: ${{ parameters.archType }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n condition: ${{ parameters.condition }}\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n helixQueues: ${{ parameters.helixQueues }}\n diffType: ${{ parameters.diffType }}\n baseJitOptions: ${{ parameters.baseJitOptions }}\n diffJitOptions: ${{ parameters.diffJitOptions }}\n dependsOn:\n - ${{ if in(parameters.diffType, 'asmdiffs', 'all') }}:\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_checked_'\n - ${{ if in(parameters.diffType, 'tpdiff', 'all') }}:\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_release_'\n\n variables:\n - ${{ each variable in parameters.variables }}:\n - ${{insert}}: ${{ variable }}\n\n - ${{ if in(parameters.diffType, 'tpdiff', 'all') }}:\n - ${{ if eq(parameters.osGroup, 'windows') }}:\n - name: releaseProductRootFolderPath\n value: '$(Build.SourcesDirectory)\artifacts\bin\coreclr\$(osGroup).$(archType).Release'\n - ${{ if ne(parameters.osGroup, 'windows') }}:\n - name: releaseProductRootFolderPath\n value: '$(Build.SourcesDirectory)/artifacts/bin/coreclr/$(osGroup).$(archType).Release'\n\n steps:\n\n - ${{ if in(parameters.diffType, 'asmdiffs', 'all') }}:\n # Download jit checked builds\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr\n artifactFileName: 'CheckedJIT_$(osGroup)$(osSubgroup)_$(archType)$(archiveExtension)'\n artifactName: 'CheckedJIT_$(osGroup)$(osSubgroup)_$(archType)'\n displayName: 'JIT checked build'\n cleanUnpackFolder: false\n\n - ${{ if in(parameters.diffType, 'tpdiff', 'all') }}:\n # Download jit release builds\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr\n artifactFileName: 'ReleaseJIT_$(osGroup)$(osSubgroup)_$(archType)$(archiveExtension)'\n artifactName: 'ReleaseJIT_$(osGroup)$(osSubgroup)_$(archType)'\n displayName: 'JIT release build'\n cleanUnpackFolder: false\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-diffs-job.yml | superpmi-diffs-job.yml | YAML | 3,477 | 0.95 | 0.114286 | 0.03125 | node-utils | 735 | 2024-08-04T22:00:19.943678 | Apache-2.0 | false | 891a65b3a4f35def12b35b6d2a71615e |
parameters:\n buildConfig: '' # required -- build configuration\n archType: '' # required -- targeting CPU architecture\n osGroup: '' # required -- operating system for the job\n osSubgroup: '' # optional -- operating system subgroup\n condition: true\n pool: ''\n timeoutInMinutes: 320 # build timeout\n variables: {}\n helixQueues: ''\n runJobTemplate: '/eng/pipelines/coreclr/templates/run-superpmi-replay-job.yml'\n replayType: 'standard'\n unifiedArtifactsName: ''\n\njobs:\n- template: ${{ parameters.runJobTemplate }}\n parameters:\n jobName: ${{ format('superpmi_replay_{0}_{1}{2}_{3}_{4}', parameters.replayType, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}\n displayName: ${{ format('SuperPMI replay {0} {1}{2} {3} {4}', parameters.replayType, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}\n pool: ${{ parameters.pool }}\n buildConfig: ${{ parameters.buildConfig }}\n archType: ${{ parameters.archType }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n condition: ${{ parameters.condition }}\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n helixQueues: ${{ parameters.helixQueues }}\n replayType: ${{ parameters.replayType }}\n dependsOn:\n - 'build_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_'\n\n variables: ${{ parameters.variables }}\n\n steps:\n\n # Download builds\n - template: /eng/pipelines/common/download-artifact-step.yml\n parameters:\n unpackFolder: $(Build.SourcesDirectory)/artifacts/bin/coreclr\n artifactFileName: '${{ parameters.unifiedArtifactsName }}$(archiveExtension)'\n artifactName: '${{ parameters.unifiedArtifactsName }}'\n displayName: 'unified artifacts'\n cleanUnpackFolder: false\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-replay-job.yml | superpmi-replay-job.yml | YAML | 1,969 | 0.95 | 0.023256 | 0.025641 | react-lib | 342 | 2024-05-18T07:35:58.670162 | BSD-3-Clause | false | ff6a2c78001288d2ab2ae8c118d2526f |
# Please remember to update the documentation if you make changes to these parameters!\nparameters:\n HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/\n HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/'\n HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number\n HelixTargetQueues: '' # required -- semicolon delimited list of Helix queues to test on; see https://helix.dot.net/ for a list of queues\n HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group\n HelixPreCommands: '' # optional -- commands to run before Helix work item execution\n HelixPostCommands: '' # optional -- commands to run after Helix work item execution\n WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects\n CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload\n IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion\n DotNetCliPackageType: '' # optional -- either 'sdk' or 'runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json\n DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json\n EnableXUnitReporter: false # optional -- true enables XUnit result reporting to Mission Control\n WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget."\n Creator: '' # optional -- if the build is external, use this to specify who is sending the job\n DisplayNamePrefix: 'Send job to Helix' # optional -- rename the beginning of the displayName of the steps in AzDO \n condition: succeeded() # optional -- condition for step to execute; defaults to succeeded()\n continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false\n BuildConfig: 'checked' # optional -- Mostly, superpmi will be run on checked builds\n osGroup: '' # required -- the OS group to run the tests on; defaults to the OS group of the build\n archType: '' # required -- the architecture to run the tests on; defaults to the architecture of the build\n InputArtifacts: ''\n CollectionType: ''\n CollectionName: ''\n ProjectFile: ''\n\nsteps:\n- template: /eng/pipelines/common/templates/runtimes/send-to-helix-inner-step.yml\n parameters:\n osGroup: ${{ parameters.osGroup }}\n sendParams: $(Build.SourcesDirectory)/src/coreclr/scripts/${{ parameters.ProjectFile }} /restore /t:Test /bl:$(Build.SourcesDirectory)/artifacts/log/$(BuildConfig)/SendToHelix.binlog\n displayName: ${{ parameters.DisplayNamePrefix }}\n condition: ${{ parameters.condition }}\n shouldContinueOnError: ${{ parameters.continueOnError }}\n environment:\n _Creator: ${{ parameters.Creator }}\n TargetOS: ${{ parameters.osGroup }}\n TargetArchitecture: ${{ parameters.archType }}\n MchFileTag: $(MchFileTag)\n BuildConfig: ${{ parameters.BuildConfig }}\n InputArtifacts: ${{ parameters.InputArtifacts }}\n CollectionType: ${{ parameters.CollectionType }}\n CollectionName: ${{ parameters.CollectionName }}\n HelixSource: ${{ parameters.HelixSource }}\n HelixType: ${{ parameters.HelixType }}\n HelixBuild: ${{ parameters.HelixBuild }}\n HelixTargetQueues: ${{ parameters.HelixTargetQueues }}\n HelixAccessToken: ${{ parameters.HelixAccessToken }}\n HelixPreCommands: ${{ parameters.HelixPreCommands }}\n HelixPostCommands: ${{ parameters.HelixPostCommands }}\n WorkItemDirectory: ${{ parameters.WorkItemDirectory }}\n CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }}\n IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}\n DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}\n DotNetCliVersion: ${{ parameters.DotNetCliVersion }}\n EnableXUnitReporter: ${{ parameters.EnableXUnitReporter }}\n WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\superpmi-send-to-helix.yml | superpmi-send-to-helix.yml | YAML | 4,957 | 0.95 | 0.116667 | 0.016949 | react-lib | 482 | 2025-02-23T12:26:13.559476 | Apache-2.0 | false | b65c17ac9d8ba2ce9b589cad73f79232 |
steps:\n# Add authenticated pip feed\n- task: PipAuthenticate@1\n displayName: 'Pip Authenticate'\n inputs:\n artifactFeeds: public/dotnet-public-pypi\n onlyAddExtraIndex: false\n\n- script: $(PythonSetupScript)\n displayName: Enable python venv\n\n# Ensure the Python azure-storage-blob package is installed before doing the upload.\n- script: $(PipScript) install --upgrade pip && $(PipScript) install azure.storage.blob==12.5.0 --force-reinstall && $(PipScript) install azure.identity==1.16.1 --force-reinstall\n displayName: Upgrade Pip to latest and install azure-storage-blob and azure-identity Python packages\n\n- task: AzureCLI@2\n displayName: 'Upload JIT to Azure Storage'\n inputs:\n azureSubscription: 'superpmi-collect-rw'\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n $(PythonScript) $(Build.SourcesDirectory)/src/coreclr/scripts/jitrollingbuild.py upload -build_type $(_BuildConfig) -arch $(archType) -host_os $(osGroup) -git_hash $(Build.SourceVersion) --use_latest_jit_change\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\coreclr\templates\upload-jits-steps.yml | upload-jits-steps.yml | YAML | 1,031 | 0.8 | 0 | 0.1 | react-lib | 957 | 2024-07-13T06:37:15.958669 | BSD-3-Clause | false | 1f8fb3f3ff305fed07ccc4a83b890c6b |
parameters:\n buildConfig: ''\n name: ''\n buildArgs: ''\n archType: ''\n hostedOs: ''\n osGroup: ''\n osSubgroup: ''\n container: ''\n crossBuild: false\n variables: []\n targetRid: ''\n timeoutInMinutes: ''\n dependsOn: []\n # The following parameter is used to specify dependencies on other global build for the same platform.\n # We provide this mechanism to allow for global builds to depend on other global builds and use the multiplexing\n # that platform-matrix.yml enables.\n # Each item can have the following properties:\n # - name: The suffix of the job name to depend on.\n # - buildConfig: The configuration of the job to depend on.\n dependsOnGlobalBuilds: []\n pool: ''\n platform: ''\n condition: true\n useContinueOnErrorDuringBuild: false\n shouldContinueOnError: false\n isOfficialBuild: false\n runtimeFlavor: 'coreclr'\n runtimeVariant: ''\n helixQueues: ''\n enablePublishTestResults: false\n testResultsFormat: ''\n postBuildSteps: []\n extraVariablesTemplates: []\n preBuildSteps: []\n templatePath: 'templates'\n templateContext: ''\n disableComponentGovernance: ''\n liveRuntimeDir: ''\n\njobs:\n- template: /eng/common/${{ parameters.templatePath }}/job/job.yml\n parameters:\n name: ${{ coalesce(parameters.name, parameters.osGroup) }}_${{ parameters.archType }}_${{ parameters.buildConfig }}\n pool: ${{ parameters.pool }}\n container: ${{ parameters.container }}\n condition: and(succeeded(), ${{ parameters.condition }})\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n enablePublishTestResults: ${{ parameters.enablePublishTestResults }}\n testResultsFormat: ${{ parameters.testResultsFormat }}\n\n ${{ if ne(parameters.templateContext, '') }}:\n templateContext: ${{ parameters.templateContext }}\n\n artifacts:\n publish:\n logs:\n ${{ if notin(parameters.osGroup, 'browser', 'wasi') }}:\n name: Logs_Build_Attempt$(System.JobAttempt)_${{ parameters.osGroup }}_${{ parameters.osSubGroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}_${{ parameters.name }}\n ${{ if in(parameters.osGroup, 'browser', 'wasi') }}:\n name: Logs_Build_Attempt$(System.JobAttempt)_${{ parameters.osGroup }}_${{ parameters.archType }}_${{ parameters.hostedOs }}_${{ parameters.buildConfig }}_${{ parameters.name }}\n\n # Component governance does not work on musl machines\n ${{ if eq(parameters.osSubGroup, '_musl') }}:\n disableComponentGovernance: true\n ${{ else }}:\n disableComponentGovernance: ${{ parameters.disableComponentGovernance }}\n\n workspace:\n clean: all\n\n ${{ if or(ne(parameters.dependsOn,''), ne(parameters.dependsOnGlobalBuilds,'')) }}:\n dependsOn:\n - ${{ each build in parameters.dependsOn }}:\n - ${{ build }}\n - ${{ each globalBuild in parameters.dependsOnGlobalBuilds }}:\n - ${{ format('build_{0}{1}_{2}_{3}_{4}', parameters.osGroup, parameters.osSubgroup, parameters.archType, coalesce(globalBuild.buildConfig, parameters.buildConfig), globalBuild.name) }}\n\n variables:\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - group: DotNet-HelixApi-Access\n - group: AzureDevOps-Artifact-Feeds-Pats\n \n - _PhaseName: ${{ coalesce(parameters.name, parameters.osGroup) }}_${{ parameters.archType }}_${{ parameters.buildConfig }}\n - _Pipeline_StreamDumpDir: $(Build.SourcesDirectory)/artifacts/tmp/${{ parameters.buildConfig }}/streams\n\n - _TestArgs: '-test'\n - _Cross: ''\n\n - _buildScript: $(Build.SourcesDirectory)$(dir)build$(scriptExt)\n\n - ${{ if and(eq(parameters.testOnly, 'true'), eq(parameters.buildOnly, 'true')) }}:\n 'error, testOnly and buildOnly cannot be true at the same time': error\n\n - ${{ if eq(parameters.testOnly, 'true') }}:\n - _TestArgs: '-test -skipnative'\n\n - ${{ if or(eq(parameters.buildOnly, 'true'), eq(parameters.isCodeQLRun, 'true')) }}:\n - _TestArgs: ''\n\n # For testing msrc's and service releases. The RuntimeSourceVersion is either "default" or the service release version to test\n - _InternalInstallArgs: ''\n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.isCodeQLRun, 'false')) }}:\n - _InternalInstallArgs:\n -dotnetruntimeversion '$(DotnetRuntimeVersion)'\n -dotnetruntimedownloadversion '$(DotnetRuntimeDownloadVersion)'\n -runtimesourcefeed '$(RuntimeFeedUrl)'\n -runtimesourcefeedkey '$(RuntimeFeedBase64SasToken)'\n\n - ${{ each variableTemplate in parameters.extraVariablesTemplates }}:\n - template: ${{ variableTemplate.template }}\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n runtimeVariant: ${{ parameters.runtimeVariant }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n name: ${{ parameters.name }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n ${{ if ne(variableTemplate.forwardedParameters, '') }}:\n ${{ each parameter in variableTemplate.forwardedParameters }}:\n ${{ parameter }}: ${{ parameters[parameter] }}\n ${{ if ne(variableTemplate.parameters, '') }}:\n ${{ insert }}: ${{ variableTemplate.parameters }}\n\n - ${{ each variable in parameters.variables }}:\n - ${{ variable }}\n\n steps:\n - ${{ if eq(parameters.osGroup, 'windows') }}:\n - template: /eng/pipelines/common/templates/disable-vsupdate-or-failfast.yml\n\n - checkout: diagnostics\n clean: true\n fetchDepth: $(checkoutFetchDepth)\n\n - ${{ if and(eq(parameters.isOfficialBuild, true), notin(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator')) }}:\n - template: /eng/pipelines/common/restore-internal-tools.yml\n\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - ${{ if and(ne(parameters.osGroup, 'windows'), ne(parameters.hostedOs, 'windows')) }}:\n - task: Bash@3\n displayName: Setup Private Feeds Credentials\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh\n arguments: $(Build.SourcesDirectory)/NuGet.config $Token\n env:\n Token: $(dn-bot-dnceng-artifact-feeds-rw)\n - ${{ else }}:\n - task: PowerShell@2\n displayName: Setup Private Feeds Credentials\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token\n env:\n Token: $(dn-bot-dnceng-artifact-feeds-rw)\n # Run the NuGetAuthenticate task after the internal feeds are added to the nuget.config\n # This ensures that creds are set appropriately for all feeds in the config, and that the\n # credential provider is installed.\n - task: NuGetAuthenticate@1\n\n - ${{ if in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator') }}:\n - script: $(Build.SourcesDirectory)/eng/common/native/install-dependencies.sh ${{ parameters.osGroup }}\n displayName: Install Build Dependencies\n\n - script: |\n du -sh $(Build.SourcesDirectory)/*\n df -h\n displayName: Disk Usage before Build\n\n - ${{ if in(parameters.platform, 'browser_wasm_win', 'wasi_wasm_win') }}:\n # Update machine certs\n - task: PowerShell@2\n displayName: Update machine certs\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/pipelines/mono/update-machine-certs.ps1\n\n - ${{ if ne(parameters.preBuildSteps,'') }}:\n - ${{ each preBuildStep in parameters.preBuildSteps }}:\n - ${{ if ne(preBuildStep.template, '') }}:\n - template: ${{ preBuildStep.template }}\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n runtimeVariant: ${{ parameters.runtimeVariant }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n name: ${{ parameters.name }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n ${{ if ne(preBuildStep.forwardedParameters, '') }}:\n ${{ each parameter in preBuildStep.forwardedParameters }}:\n ${{ parameter }}: ${{ parameters[parameter] }}\n ${{ if ne(preBuildStep.parameters, '') }}:\n ${{ insert }}: ${{ preBuildStep.parameters }}\n - ${{ else }}:\n - ${{ preBuildStep }}\n\n # Build\n - script: $(_buildScript)\n -ci\n -configuration ${{ parameters.buildConfig }}\n -architecture ${{ parameters.archType }}\n -privatebuild\n -useCdac\n -liveRuntimeDir ${{ parameters.liveRuntimeDir }}\n $(_TestArgs)\n $(_Cross)\n $(_InternalInstallArgs)\n /p:OfficialBuildId=$(BUILD.BUILDNUMBER)\n ${{ if eq(parameters.testOnly, 'true') }}:\n displayName: Test\n ${{ elseif eq(parameters.buildOnly, 'true') }}:\n displayName: Build\n ${{ else }}:\n displayName: Build / Test\n condition: succeeded()\n\n - ${{ if in(parameters.osGroup, 'osx', 'ios', 'tvos', 'android') }}:\n - script: |\n du -sh $(Build.SourcesDirectory)/*\n df -h\n displayName: Disk Usage after Build\n condition: always()\n\n # If intended to send extra steps after regular build add them here.\n - ${{ if ne(parameters.postBuildSteps,'') }}:\n - ${{ each postBuildStep in parameters.postBuildSteps }}:\n - ${{ if ne(postBuildStep.template, '') }}:\n - template: ${{ postBuildStep.template }}\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n runtimeVariant: ${{ parameters.runtimeVariant }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n name: ${{ parameters.name }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n ${{ if ne(postBuildStep.forwardedParameters, '') }}:\n ${{ each parameter in postBuildStep.forwardedParameters }}:\n ${{ parameter }}: ${{ parameters[parameter] }}\n ${{ if ne(postBuildStep.parameters, '') }}:\n ${{ insert }}: ${{ postBuildStep.parameters }}\n - ${{ else }}:\n - ${{ postBuildStep }}\n\n - ${{ if and(eq(parameters.isOfficialBuild, true), eq(parameters.osGroup, 'windows')) }}:\n - powershell: ./eng/collect_vsinfo.ps1 -ArchiveRunName postbuild_log\n displayName: Collect vslogs on exit\n condition: always()\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\diagnostics\runtime-diag-job.yml | runtime-diag-job.yml | YAML | 11,627 | 0.8 | 0.122605 | 0.060086 | vue-tools | 713 | 2024-03-10T10:41:42.621556 | Apache-2.0 | false | 4839fcda0931ad518d3030da20910e4d |
# This contains only Android-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-android` name\n# /azp run runtime-android\n\nparameters:\n isExtraPlatformsBuild: false\n isAndroidOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n#\n# Build the whole product using Mono for Android and run runtime tests with Android devices\n#\n# Turn off the runtime testing for now, until https://github.com/dotnet/runtime/issues/60128 gets resolved\n# don't run tests on PRs until we can get significantly more devices\n# - template: /eng/pipelines/common/platform-matrix.yml\n# parameters:\n# jobTemplate: /eng/pipelines/common/global-build-job.yml\n# helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n# buildConfig: Release\n# runtimeFlavor: mono\n# isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n# isAndroidOnlyBuild: ${{ parameters.isAndroidOnlyBuild }}\n# platforms:\n# - android_arm64\n# variables:\n# - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n# - name: _HelixSource\n# value: pr/dotnet/runtime/$(Build.SourceBranch)\n# - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n# - name: _HelixSource\n# value: ci/dotnet/runtime/$(Build.SourceBranch)\n# - name: timeoutPerTestInMinutes\n# value: 60\n# - name: timeoutPerTestCollectionInMinutes\n# value: 180\n# jobParameters:\n# testGroup: innerloop\n# nameSuffix: AllSubsets_Mono_RuntimeTests\n# runtimeVariant: minijit\n# buildArgs: -s mono+libs -c $(_BuildConfig)\n# timeoutInMinutes: 480\n# ${{ if eq(variables['isRollingBuild'], true) }}:\n# # extra steps, run tests\n# postBuildSteps:\n# - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n# parameters:\n# creator: dotnet-bot\n# testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n# extraVariablesTemplates:\n# - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n\n#\n# Android devices\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - android_arm\n - android_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono\n isExtraPlatforms: ${{ parameters.isExtraPlatformsBuild }}\n buildArgs: -s mono+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg) /p:EnableAdditionalTimezoneChecks=true\n timeoutInMinutes: 480\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-android.yml | runtime-extra-platforms-android.yml | YAML | 3,566 | 0.8 | 0.058824 | 0.62963 | awesome-app | 364 | 2025-06-14T11:57:25.108438 | MIT | false | 4e714a9bfcd728b48ecf47cbe0489840 |
# This contains only Android emulator-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-androidemulator` name\n# /azp run runtime-androidemulator\n\nparameters:\n isExtraPlatformsBuild: false\n isAndroidEmulatorOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n# Build the whole product using Mono for Android and run runtime tests with Android emulator\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isAndroidEmulatorOnlyBuild: ${{ parameters.isAndroidEmulatorOnlyBuild }}\n platforms:\n - android_x64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_RuntimeTests\n runtimeVariant: minijit\n buildArgs: -s mono+libs -c $(_BuildConfig)\n timeoutInMinutes: 240\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n\n#\n# Build the whole product using Mono for Android and run runtime tests with interpreter\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isAndroidEmulatorOnlyBuild: ${{ parameters.isAndroidEmulatorOnlyBuild }}\n platforms:\n - android_x64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_RuntimeTests_Interp\n runtimeVariant: monointerpreter\n buildArgs: -s mono+libs -c $(_BuildConfig)\n timeoutInMinutes: 240\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n\n#\n# Android emulators\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - android_x86\n - android_x64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono\n isExtraPlatforms: ${{ parameters.isExtraPlatformsBuild }}\n buildArgs: -s mono+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg)\n timeoutInMinutes: 180\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-androidemulator.yml | runtime-extra-platforms-androidemulator.yml | YAML | 4,918 | 0.8 | 0.05 | 0.147826 | awesome-app | 732 | 2024-07-15T17:40:40.027197 | BSD-3-Clause | false | f7b69b96b8bc96fa5f10cd1995deab20 |
# This contains only iOS/tvOS-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-ioslike` name\n# /azp run runtime-ioslike\n\nparameters:\n isExtraPlatformsBuild: false\n isiOSLikeOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n#\n# iOS/tvOS devices - Full AOT + AggressiveTrimming to reduce size\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - ios_arm64\n - tvos_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n - name: illinkContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_tools_illink.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono\n isExtraPlatforms: ${{ parameters.isExtraPlatformsBuild }}\n # Don't trim tests on rolling builds\n ${{ if eq(variables['isRollingBuild'], true) }}:\n buildArgs: -s mono+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true $(_runSmokeTestsOnlyArg) /p:BuildTestsOnHelix=true /p:EnableAdditionalTimezoneChecks=true /p:UsePortableRuntimePack=false /p:IsManualOrRollingBuild=true /p:EnableAggressiveTrimming=false\n ${{ else }}:\n buildArgs: -s mono+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:DevTeamProvisioning=- /p:RunAOTCompilation=true $(_runSmokeTestsOnlyArg) /p:BuildTestsOnHelix=true /p:EnableAdditionalTimezoneChecks=true /p:UsePortableRuntimePack=false /p:IsManualOrRollingBuild=true /p:EnableAggressiveTrimming=true\n timeoutInMinutes: 480\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true\n\n#\n# iOS/tvOS devices\n# Build the whole product using Mono and run runtime tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - ios_arm64\n - tvos_arm64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_RuntimeTests\n buildArgs: -s mono+libs -c $(_BuildConfig)\n timeoutInMinutes: 480\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testBuildArgs: /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:MonoForceInterpreter=true /p:BuildTestsOnHelix=true\n compileOnHelix: true\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true\n\n#\n# iOS/tvOS devices\n# Build the whole product using Native AOT and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: coreclr\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - ios_arm64\n - tvos_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: coreclrContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_coreclr.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_NativeAOT\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:RunSmokeTestsOnly=true /p:DevTeamProvisioning=- /p:BuildTestsOnHelix=true /p:UseNativeAOTRuntime=true /p:RunAOTCompilation=false /p:ContinuousIntegrationBuild=true\n timeoutInMinutes: 180\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)\n extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true\n\n#\n# Build the whole product using NativeAOT for iOS/tvOS and run runtime tests with iOS/tvOS devices\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: coreclr\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - ios_arm64\n - tvos_arm64\n variables:\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_NativeAOT_RuntimeTests\n timeoutInMinutes: 480\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true\n testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)\n buildAllTestsAsStandalone: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-ioslike.yml | runtime-extra-platforms-ioslike.yml | YAML | 7,613 | 0.8 | 0.02381 | 0.160494 | node-utils | 35 | 2024-06-07T05:36:43.468114 | GPL-3.0 | false | e878ee7e88df8648c4c370d44b414a3a |
# This contains only iOS/tvOS-simulator-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-ioslikesimulator` name\n# /azp run runtime-ioslikesimulator\n\nparameters:\n isExtraPlatformsBuild: false\n isiOSLikeSimulatorOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n#\n# iOS/tvOS interp - requires AOT Compilation and Interp flags\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeSimulatorOnlyBuild: ${{ parameters.isiOSLikeSimulatorOnlyBuild }}\n platforms:\n - iossimulator_x64\n - tvossimulator_x64\n - iossimulator_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg) /p:RunAOTCompilation=true /p:MonoForceInterpreter=true\n timeoutInMinutes: 180\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n interpreter: true\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n\n#\n# Build the whole product using Mono for iOSSimulator/tvOSSimulator and run runtime tests with iOS/tvOS simulators\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - iossimulator_x64\n - tvossimulator_x64\n - iossimulator_arm64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_RuntimeTests\n buildArgs: -s mono+libs -c $(_BuildConfig)\n timeoutInMinutes: 240\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testBuildArgs: /p:DevTeamProvisioning=- /p:RunAOTCompilation=true /p:MonoForceInterpreter=true /p:BuildTestsOnHelix=true\n compileOnHelix: true\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n extraHelixArguments: /p:NeedsToBuildAppsOnHelix=true\n\n#\n# Build the whole product using Native AOT for iOSSimulator/tvOSSimulator and run runtime tests with iOS/tvOS simulators\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: coreclr\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isiOSLikeOnlyBuild: ${{ parameters.isiOSLikeOnlyBuild }}\n platforms:\n - iossimulator_x64\n - tvossimulator_x64\n - iossimulator_arm64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_NativeAOT_RuntimeTests\n timeoutInMinutes: 240\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true\n testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)\n buildAllTestsAsStandalone: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-ioslikesimulator.yml | runtime-extra-platforms-ioslikesimulator.yml | YAML | 5,796 | 0.95 | 0.044444 | 0.138462 | node-utils | 376 | 2024-05-21T19:20:31.414923 | Apache-2.0 | false | 351e67d06f51cb485d8414cb2f116130 |
# This contains only Bionic-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-linuxbionic` name\n# /azp run runtime-linuxbionic\n\nparameters:\n isExtraPlatformsBuild: false\n isLinuxBionicOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n#\n# Build the whole product using Mono for Android Linux with Bionic libc\n# FIXME: disabled test runs https://github.com/dotnet/runtime/issues/100281\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isLinuxBionicOnlyBuild: ${{ parameters.isLinuxBionicOnlyBuild }}\n platforms:\n - linux_bionic_arm64\n - linux_bionic_x64\n variables:\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: pr/dotnet/runtime/$(Build.SourceBranch)\n - ${{ if and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}:\n - name: _HelixSource\n value: ci/dotnet/runtime/$(Build.SourceBranch)\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n targetRid: linux-bionic-x64\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true\n timeoutInMinutes: 480\n # extra steps, run tests # FIXME: see https://github.com/dotnet/runtime/issues/100281\n # postBuildSteps:\n # - template: /eng/pipelines/libraries/helix.yml\n # parameters:\n # creator: dotnet-bot\n # testRunNamePrefixSuffix: Mono_$(_BuildConfig)_LinuxBionic\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-linuxbionic.yml | runtime-extra-platforms-linuxbionic.yml | YAML | 1,998 | 0.8 | 0.06 | 0.297872 | node-utils | 886 | 2024-10-19T05:21:51.425571 | Apache-2.0 | false | 065f240874381b5e207ca2a445a08eaf |
# This contains only MacCatalyst-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-maccatalyst` name\n# /azp run runtime-maccatalyst\n\nparameters:\n isExtraPlatformsBuild: false\n isMacCatalystOnlyBuild: false\n isRollingBuild: false\n\njobs:\n\n#\n# MacCatalyst interp - requires AOT Compilation and Interp flags\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }}\n platforms:\n - maccatalyst_x64\n - maccatalyst_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true /p:DevTeamProvisioning=adhoc /p:RunAOTCompilation=true /p:MonoForceInterpreter=true\n timeoutInMinutes: 180\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n\n#\n# MacCatalyst interp - requires AOT Compilation and Interp flags\n# Build the whole product using Mono and run libraries tests\n# The test app is built with the App Sandbox entitlement\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }}\n platforms:\n - maccatalyst_x64\n - maccatalyst_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_AppSandbox\n buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true $(_runSmokeTestsOnlyArg) /p:DevTeamProvisioning=adhoc /p:RunAOTCompilation=true /p:MonoForceInterpreter=true /p:EnableAppSandbox=true\n timeoutInMinutes: 180\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n interpreter: true\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n\n#\n# Build the whole product using Native AOT and run runtime tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: coreclr\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }}\n platforms:\n - maccatalyst_x64\n - maccatalyst_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_NativeAOT_RuntimeTests\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)\n timeoutInMinutes: 180\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n buildAllTestsAsStandalone: true\n testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true\n testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)\n\n#\n# Build the whole product using Native AOT with the App Sandbox entitlement and run runtime tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: coreclr\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isMacCatalystOnlyBuild: ${{ parameters.isMacCatalystOnlyBuild }}\n platforms:\n - maccatalyst_x64\n - maccatalyst_arm64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_NativeAOT_RuntimeTests_AppSandbox\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)\n timeoutInMinutes: 180\n # extra steps, run tests\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n parameters:\n testGroup: innerloop\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n buildAllTestsAsStandalone: true\n testBuildArgs: tree nativeaot/SmokeTests /p:BuildNativeAOTRuntimePack=true /p:DevTeamProvisioning=adhoc /p:EnableAppSandbox=true\n testRunNamePrefixSuffix: NativeAOT_$(_BuildConfig)\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-maccatalyst.yml | runtime-extra-platforms-maccatalyst.yml | YAML | 6,934 | 0.95 | 0 | 0.181208 | vue-tools | 660 | 2024-02-22T15:17:35.832764 | Apache-2.0 | false | ab3e6275230ad6bbc7a36c70703cb7de |
# This contains only jobs that are not runnable by a platform specific\n# pipeline, like runtime-wasm\n# These are run as part of runtime-extra-platforms by default.\n\nparameters:\n isExtraPlatformsBuild: ''\n\njobs:\n\n#\n# Libraries Release Test Execution against a release coreclr runtime\n# Only when the PR contains a libraries change\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: Release\n platforms:\n - linux_x64\n - linux_arm\n - linux_arm64\n - linux_musl_x64\n - osx_x64\n - windows_x64\n - windows_x86\n - windows_arm64\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n jobParameters:\n buildArgs: -s tools+clr+libs+libs.tests -c $(_BuildConfig) -testscope innerloop /p:ArchiveTests=true\n nameSuffix: Libraries_Release_CoreCLR\n timeoutInMinutes: 150\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Libraries_Release_CoreCLR\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n\n# Run net481 tests on win-x64\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: Release\n platforms:\n - windows_x64\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n jobParameters:\n framework: net481\n buildArgs: -s tools+libs+libs.tests -framework net481 -c $(_BuildConfig) -testscope innerloop /p:ArchiveTests=true\n nameSuffix: Libraries_NET481\n timeoutInMinutes: 150\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: NET481_$(_BuildConfig)\n extraHelixArguments: /p:BuildTargetFramework=net481\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n\n#### MONO LEGS\n\n#\n# Build the whole product using Mono and run libraries tests\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - windows_x64\n variables:\n # map dependencies variables to local variables\n - name: librariesContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'] ]\n - name: monoContainsChange\n value: $[ stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'] ]\n jobParameters:\n testScope: innerloop\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+libs+host+packs+libs.tests -c $(_BuildConfig) /p:ArchiveTests=true\n timeoutInMinutes: 120\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_libraries.containsChange'], true),\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true),\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_installer.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n condition: >-\n or(\n eq(variables['librariesContainsChange'], true),\n eq(variables['monoContainsChange'], true),\n eq(variables['isRollingBuild'], true))\n\n#\n# Mono CoreCLR runtime test executions using live libraries and mini Full AOT\n# Only when Mono is changed\n#\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - linux_x64\n # Tracking issue: https://github.com/dotnet/runtime/issues/90427\n # linux_arm64\n variables:\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_MiniFullAot_RuntimeTests\n runtimeVariant: minifullaot\n buildArgs: -s mono+libs+clr.hosts -c Release\n timeoutInMinutes: 300\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true),\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n llvmAotStepContainer: linux_x64\n testRunNamePrefixSuffix: Mono_Release\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n\n#\n# Mono CoreCLR runtime Test executions using live libraries in interpreter mode\n# Only when Mono is changed\n\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - linux_arm64\n - osx_arm64\n variables:\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_Interpreter_RuntimeTests\n runtimeVariant: monointerpreter\n buildArgs: -s mono+libs+clr.hosts+clr.iltools -c Release\n timeoutInMinutes: 180\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true),\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_Release\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n\n#\n# Mono CoreCLR runtime Test executions using live libraries in JIT mode\n# Only when Mono is changed\n\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - linux_arm64\n variables:\n - name: timeoutPerTestInMinutes\n value: 60\n - name: timeoutPerTestCollectionInMinutes\n value: 180\n jobParameters:\n testGroup: innerloop\n nameSuffix: AllSubsets_Mono_Minijit_RuntimeTests\n runtimeVariant: minijit\n buildArgs: -s mono+libs+clr.hosts+clr.iltools -c Release\n timeoutInMinutes: 180\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n condition: >-\n or(\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_mono_excluding_wasm.containsChange'], true),\n eq(stageDependencies.EvaluatePaths.evaluate_paths.outputs['SetPathVars_runtimetests.containsChange'], true),\n eq(variables['isRollingBuild'], true))\n postBuildSteps:\n - template: /eng/pipelines/common/templates/runtimes/build-runtime-tests-and-send-to-helix.yml\n parameters:\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_Release\n extraVariablesTemplates:\n - template: /eng/pipelines/common/templates/runtimes/test-variables.yml\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-other.yml | runtime-extra-platforms-other.yml | YAML | 8,950 | 0.8 | 0 | 0.122066 | awesome-app | 434 | 2024-01-22T17:11:18.217755 | BSD-3-Clause | false | 2d024587851b4acaac3ebeb52cbce5bf |
# This contains only wasm-specific jobs\n# These are run as part of runtime-extra-platforms by default.\n# But can also be triggered manually via `runtime-wasm` name\n# /azp run runtime-wasm\n\nparameters:\n isExtraPlatformsBuild: false\n isWasmOnlyBuild: false\n isRollingBuild: false\n excludeLibTests: false\n excludeNonLibTests: false\n excludeOptional: true\n debuggerTestsOnly: false\n\njobs:\n\n#\n# ************ Rolling builds: *************\n# - only run eat and aot tests\n# - rest are covered by runtime\n#\n- ${{ if eq(parameters.isRollingBuild, true) }}:\n # AOT Library tests - browser_wasm\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: _AOT\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n runAOT: true\n alwaysRun: true\n\n # AOT Library tests - wasi_wasm\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - wasi_wasm\n - wasi_wasm_win\n nameSuffix: _AOT\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n runAOT: true\n alwaysRun: true\n shouldContinueOnError: true\n\n # High resource AOT Library tests\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: _HighResource_AOT\n extraBuildArgs: /p:TestAssemblies=false /p:RunHighAOTResourceRequiringTestsOnly=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n buildAOTOnHelix: false\n runAOT: true\n alwaysRun: true\n\n#\n# ********** For !rolling builds, IOW - PR builds *************\n# - run everything, if relevant paths changed\n# - For runtime-wasm, force run all the jobs\n#\n- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}:\n # Library tests\n # these run on runtime also\n - template: /eng/pipelines/common/templates/wasm-library-tests.yml\n parameters:\n platforms:\n - browser_wasm\n # Don't run for rolling builds, as this is covered\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n scenarios:\n - WasmTestOnChrome\n\n # Library tests with full threading\n - template: /eng/pipelines/common/templates/wasm-library-tests.yml\n parameters:\n platforms:\n - browser_wasm\n #- browser_wasm_win\n nameSuffix: _Threading\n extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n extraHelixArguments: /p:WasmEnableThreads=true\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n alwaysRun: ${{ parameters.isWasmOnlyBuild }}\n shouldRunSmokeOnly: onLibrariesAndIllinkChanges\n scenarios:\n - WasmTestOnChrome\n\n # EAT Library tests - only run on linux\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - browser_wasm\n nameSuffix: _EAT\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS) /maxcpucount:1\n runAOT: false\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n\n # AOT Library tests - browser_wasm\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: _AOT\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n runAOT: true\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n alwaysRun: ${{ parameters.isWasmOnlyBuild }}\n\n # AOT Library tests - wasi_wasm\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - wasi_wasm\n - wasi_wasm_win\n nameSuffix: _AOT\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n runAOT: true\n shouldContinueOnError: true\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n alwaysRun: ${{ parameters.isWasmOnlyBuild }}\n\n # High resource AOT Library tests\n - template: /eng/pipelines/common/templates/wasm-library-aot-tests.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: _HighResource_AOT\n extraBuildArgs: /p:TestAssemblies=false /p:RunHighAOTResourceRequiringTestsOnly=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n buildAOTOnHelix: false\n runAOT: true\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n alwaysRun: ${{ parameters.isWasmOnlyBuild }}\n\n # Wasi - run only smoke tests by default\n - template: /eng/pipelines/common/templates/wasm-library-tests.yml\n parameters:\n platforms:\n - wasi_wasm\n - wasi_wasm_win\n nameSuffix: '_Smoke'\n extraBuildArgs: /p:EnableAggressiveTrimming=true /p:RunWasmSamples=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n shouldRunSmokeOnly: true\n # ignore test failures for runtime-extra-platforms, but not when this\n # is run as part of a wasm specific pipeline like runtime-wasm\n shouldContinueOnError: ${{ not(parameters.isWasmOnlyBuild) }}\n alwaysRun: ${{ variables.isRollingBuild }}\n scenarios:\n - WasmTestOnWasmtime\n\n- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeNonLibTests, true), ne(parameters.debuggerTestsOnly, true)) }}:\n # Builds only\n - template: /eng/pipelines/common/templates/wasm-build-only.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: SingleThreaded\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n condition: ne(variables['wasmSingleThreadedBuildOnlyNeededOnDefaultPipeline'], true)\n publishArtifactsForWorkload: true\n publishWBT: true\n\n - template: /eng/pipelines/common/templates/wasm-build-only.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n nameSuffix: MultiThreaded\n extraBuildArgs: /p:WasmEnableThreads=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n publishArtifactsForWorkload: true\n publishWBT: false\n\n # Browser Wasm.Build.Tests\n - template: /eng/pipelines/common/templates/browser-wasm-build-tests.yml\n parameters:\n platforms:\n - browser_wasm\n - browser_wasm_win\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n\n - template: /eng/pipelines/common/templates/simple-wasm-build-tests.yml\n parameters:\n platforms:\n - wasi_wasm\n - wasi_wasm_win\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n\n - template: /eng/pipelines/common/templates/wasm-runtime-tests.yml\n parameters:\n platforms:\n - browser_wasm\n extraBuildArgs: /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n\n- ${{ if and(ne(parameters.isRollingBuild, true), ne(parameters.excludeOptional, true)) }}:\n - template: /eng/pipelines/common/templates/wasm-library-tests.yml\n parameters:\n platforms:\n - wasi_wasm\n - wasi_wasm_win\n extraBuildArgs: /p:EnableAggressiveTrimming=true /p:RunWasmSamples=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n # always run for wasm only pipelines\n alwaysRun: ${{ parameters.isWasmOnlyBuild }}\n isExtraPlatformsBuild: ${{ parameters.isExtraPlatformsBuild }}\n isWasmOnlyBuild: ${{ parameters.isWasmOnlyBuild }}\n scenarios:\n - WasmTestOnWasmtime\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\extra-platforms\runtime-extra-platforms-wasm.yml | runtime-extra-platforms-wasm.yml | YAML | 8,312 | 0.8 | 0.036199 | 0.157635 | vue-tools | 453 | 2024-10-15T08:59:49.732871 | Apache-2.0 | false | 866568f0968c6ca7d7fa387623081e73 |
parameters:\n name: ''\n\nsteps:\n# Upload binaries and symbols on failure to allow debugging issues\n- task: CopyFiles@2\n displayName: Prepare binaries to publish\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)/artifacts/bin'\n Contents: |\n */corehost/**\n */corehost_test/**\n TargetFolder: '$(Build.StagingDirectory)/Binaries'\n continueOnError: true\n condition: failed()\n\n- template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: '$(Build.StagingDirectory)/Binaries'\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: 'Installer-Binaries-${{ parameters.name }}-$(_BuildConfig)'\n displayName: 'Binaries'\n condition: failed()\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\installer\steps\upload-job-artifacts.yml | upload-job-artifacts.yml | YAML | 791 | 0.8 | 0 | 0.125 | react-lib | 13 | 2024-03-11T10:38:53.525260 | BSD-3-Clause | false | e7ab84092b1614a7c515a0879598e3fa |
parameters:\n jobTemplate: ''\n variables: []\n osGroup: ''\n osSubgroup: ''\n archType: ''\n container: ''\n pool: ''\n platform: ''\n shouldContinueOnError: false\n jobParameters: {}\n\njobs:\n- template: ${{ parameters.jobTemplate }}\n parameters:\n variables: ${{ parameters.variables }}\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n container: ${{ parameters.container }}\n pool: ${{ parameters.pool }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n helixQueues:\n\n # Linux arm\n - ${{ if eq(parameters.platform, 'linux_arm') }}:\n - ${{ if or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - (Debian.13.Arm32.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm32v7\n\n # Linux armv6\n - ${{ if eq(parameters.platform, 'linux_armv6') }}:\n - (Raspbian.10.Armv6.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:raspbian-10-helix-arm32v6\n\n # Linux arm64\n - ${{ if eq(parameters.platform, 'linux_arm64') }}:\n - (Ubuntu.2504.Arm64.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-25.04-helix-arm64v8\n - ${{ if or(ne(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - (Debian.13.Arm64.Open)Ubuntu.2204.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-arm64v8\n\n # Linux musl x64\n - ${{ if eq(parameters.platform, 'linux_musl_x64') }}:\n - ${{ if or(ne(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64\n - ${{ if or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - (Alpine.321.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-amd64\n\n # Linux musl arm64\n - ${{ if and(eq(parameters.platform, 'linux_musl_arm64'), or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true))) }}:\n - (Alpine.321.Arm64.Open)ubuntu.2204.armarch.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.21-helix-arm64v8\n\n # Linux x64\n - ${{ if eq(parameters.platform, 'linux_x64') }}:\n - ${{ if and(eq(parameters.jobParameters.interpreter, ''), ne(parameters.jobParameters.isSingleFile, true)) }}:\n - ${{ if and(eq(parameters.jobParameters.testScope, 'outerloop'), eq(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - SLES.15.Amd64.Open\n - (Centos.10.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-helix-amd64\n - (Fedora.42.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-42-helix-amd64\n - (Ubuntu.2504.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-25.04-helix-amd64\n - (Debian.13.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-amd64\n - ${{ if or(ne(parameters.jobParameters.testScope, 'outerloop'), ne(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - ${{ if or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - SLES.15.Amd64.Open\n - (Fedora.42.Amd64.Open)ubuntu.2204.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-42-helix-amd64\n - Ubuntu.2204.Amd64.Open\n - (Debian.13.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-amd64\n - (AzureLinux.3.0.Amd64.Open)Ubuntu.2204.Amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux-3.0-helix-amd64\n - (openSUSE.15.6.Amd64.Open)Ubuntu.2204.Amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:opensuse-15.6-helix-amd64\n - ${{ if or(ne(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - (Centos.10.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-helix-amd64\n - (Debian.13.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-amd64\n - Ubuntu.2204.Amd64.Open\n - ${{ if or(eq(parameters.jobParameters.interpreter, 'true'), eq(parameters.jobParameters.isSingleFile, true)) }}:\n # Limiting interp runs as we don't need as much coverage.\n - (Debian.13.Amd64.Open)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-13-helix-amd64\n\n # Linux s390x\n - ${{ if eq(parameters.platform, 'linux_s390x') }}:\n - Ubuntu.2004.S390X.Experimental.Open\n\n # Linux PPC64le\n - ${{ if eq(parameters.platform, 'linux_ppc64le') }}:\n - Ubuntu.2204.PPC64le.Experimental.Open\n\n # OSX arm64\n - ${{ if eq(parameters.platform, 'osx_arm64') }}:\n - osx.13.arm64.open\n\n # OSX x64\n - ${{ if eq(parameters.platform, 'osx_x64') }}:\n - OSX.1200.Amd64.Open\n\n # Android\n - ${{ if in(parameters.platform, 'android_x86', 'android_x64', 'linux_bionic_x64') }}:\n - Ubuntu.2204.Amd64.Android.29.Open\n - ${{ if in(parameters.platform, 'android_arm', 'android_arm64', 'linux_bionic_arm', 'linux_bionic_arm64') }}:\n - Windows.11.Amd64.Android.Open\n\n # iOS Simulator/Mac Catalyst arm64\n - ${{ if in(parameters.platform, 'maccatalyst_arm64', 'iossimulator_arm64') }}:\n - OSX.14.Arm64.Open\n\n # iOS/tvOS Simulator x64 & MacCatalyst x64\n - ${{ if in(parameters.platform, 'iossimulator_x64', 'tvossimulator_x64', 'maccatalyst_x64') }}:\n - OSX.15.Amd64.Open\n\n # iOS devices\n - ${{ if in(parameters.platform, 'ios_arm64') }}:\n - OSX.13.Amd64.Iphone.Open\n\n # tvOS devices\n - ${{ if in(parameters.platform, 'tvos_arm64') }}:\n - OSX.13.Amd64.AppleTV.Open\n\n # windows x64\n - ${{ if eq(parameters.platform, 'windows_x64') }}:\n # netcoreapp\n - ${{ if notIn(parameters.jobParameters.framework, 'net481') }}:\n # libraries on mono outerloop\n - ${{ if and(eq(parameters.jobParameters.testScope, 'outerloop'), eq(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - Windows.Amd64.Server2022.Open\n - Windows.Server2025.Amd64.Open\n # libraries on coreclr (outerloop and innerloop), or libraries on mono innerloop\n - ${{ if or(ne(parameters.jobParameters.testScope, 'outerloop'), ne(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - ${{ if or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - Windows.Amd64.Server2022.Open\n - Windows.Server2025.Amd64.Open\n - ${{ if ne(parameters.jobParameters.testScope, 'outerloop') }}:\n - (Windows.10.Amd64.ServerRS5.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:windowsservercore-ltsc2019-helix-amd64\n - ${{ if or(ne(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - Windows.Amd64.Server2022.Open\n - Windows.Server2025.Amd64.Open\n - Windows.11.Amd64.Client.Open\n - ${{ if eq(parameters.jobParameters.testScope, 'outerloop') }}:\n - (Windows.10.Amd64.ServerRS5.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:windowsservercore-ltsc2019-helix-amd64\n - ${{ if ne(parameters.jobParameters.runtimeFlavor, 'mono') }}:\n - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64\n\n # .NETFramework\n - ${{ if eq(parameters.jobParameters.framework, 'net481') }}:\n - Windows.11.Amd64.Client.Open\n\n\n # windows x86\n - ${{ if eq(parameters.platform, 'windows_x86') }}:\n # netcoreapp\n - ${{ if notIn(parameters.jobParameters.framework, 'net481') }}:\n # mono outerloop\n - ${{ if and(eq(parameters.jobParameters.testScope, 'outerloop'), eq(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - Windows.11.Amd64.Client.Open\n # libraries on coreclr (outerloop and innerloop), or libraries on mono innerloop\n - ${{ if or(ne(parameters.jobParameters.testScope, 'outerloop'), ne(parameters.jobParameters.runtimeFlavor, 'mono')) }}:\n - Windows.Server2025.Amd64.Open\n - ${{ if or(eq(parameters.jobParameters.isExtraPlatformsBuild, true), eq(parameters.jobParameters.includeAllPlatforms, true)) }}:\n - Windows.11.Amd64.Client.Open\n\n # .NETFramework\n - ${{ if eq(parameters.jobParameters.framework, 'net481') }}:\n - Windows.10.Amd64.Client.Open\n\n # windows arm64\n - ${{ if eq(parameters.platform, 'windows_arm64') }}:\n - Windows.11.Arm64.Open\n\n # WASI\n - ${{ if eq(parameters.platform, 'wasi_wasm') }}:\n - (Ubuntu.2204.Amd64)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly\n\n # Browser WebAssembly\n - ${{ if eq(parameters.platform, 'browser_wasm') }}:\n - (Ubuntu.2204.Amd64)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly\n\n # Browser WebAssembly Firefox\n - ${{ if eq(parameters.platform, 'browser_wasm_firefox') }}:\n - (Ubuntu.2204.Amd64)Ubuntu.2204.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-helix-webassembly\n\n # Browser WebAssembly windows\n - ${{ if in(parameters.platform, 'browser_wasm_win', 'wasi_wasm_win') }}:\n - (Windows.Amd64.Server2022.Open)windows.amd64.server2022.open@mcr.microsoft.com/dotnet-buildtools/prereqs:windowsservercore-ltsc2022-helix-webassembly\n - (Windows.Server2025.Amd64.Open)windows.server2025.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs@sha256:146a5bd53f9325f6f58f56ff1f084bb9fed6db0783f92e1c56f4025f9aea6515\n\n ${{ insert }}: ${{ parameters.jobParameters }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\helix-queues-setup.yml | helix-queues-setup.yml | YAML | 10,433 | 0.8 | 0.258242 | 0.2 | react-lib | 715 | 2024-09-01T02:00:44.751891 | GPL-3.0 | false | 4f57130573df3c877520df01b80a059a |
parameters:\n runtimeFlavor: ''\n archType: ''\n buildConfig: ''\n creator: ''\n helixQueues: ''\n osGroup: ''\n targetRid: ''\n testRunNamePrefixSuffix: ''\n testScope: 'innerloop' # innerloop | outerloop | all\n interpreter: ''\n condition: always()\n extraHelixArguments: ''\n shouldContinueOnError: false\n scenarios: ''\n SuperPmiCollect: ''\n SuperPmiCollectionType: ''\n SuperPmiCollectionName: ''\n\nsteps:\n - script: $(_msbuildCommand) $(_warnAsErrorParamHelixOverride) -restore\n $(Build.SourcesDirectory)/src/libraries/sendtohelix.proj\n /p:RuntimeFlavor=${{ parameters.runtimeFlavor }}\n /p:TargetArchitecture=${{ parameters.archType }}\n /p:TargetRuntimeIdentifier=${{ parameters.targetRid }}\n /p:Configuration=${{ parameters.buildConfig }}\n /p:TargetOS=${{ parameters.osGroup }}\n /p:MonoForceInterpreter=${{ parameters.interpreter }}\n /p:TestScope=${{ parameters.testScope }}\n /p:TestRunNamePrefixSuffix=${{ parameters.testRunNamePrefixSuffix }}\n /p:HelixBuild=$(Build.BuildNumber)\n ${{ parameters.extraHelixArguments }}\n /bl:$(Build.SourcesDirectory)/artifacts/log/$(_BuildConfig)/SendToHelix.binlog\n displayName: Send to Helix\n condition: and(succeeded(), ${{ parameters.condition }})\n continueOnError: ${{ eq(parameters.shouldContinueOnError, true) }}\n env:\n SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops\n _Scenarios: ${{ join(',', parameters.scenarios) }} # Pass scenarios to MSBuild as env var to avoid need of escaping comma separated list\n _SuperPmiCollect: ${{ parameters.SuperPmiCollect }}\n _SuperPmiCollectionType: ${{ parameters.SuperPmiCollectionType }}\n _SuperPmiCollectionName: ${{ parameters.SuperPmiCollectionName }}\n\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n HelixAccessToken: $(HelixApiAccessToken)\n HelixTargetQueues: ${{ replace(lower(join('+', parameters.helixQueues)), '.open', '') }}\n Creator: ''\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n HelixTargetQueues: ${{ join('+', parameters.helixQueues) }}\n Creator: ${{ parameters.creator }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\helix.yml | helix.yml | YAML | 2,285 | 0.8 | 0.04 | 0 | vue-tools | 34 | 2025-05-19T09:17:45.913841 | Apache-2.0 | false | 46526996da71c626e38eb51c03fa85a5 |
trigger: none\n\nschedules:\n- cron: "0 8 * * 2,4" # 8 AM UTC => 12 AM PST, every Tuesday and Thursday\n displayName: Outerloop scheduled build\n branches:\n include:\n - main\n\nvariables:\n - template: variables.yml\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - windows_x64\n - linux_x64\n - osx_x64\n - ${{ if eq(variables['isRollingBuild'], true) }}:\n - android_x64\n - linux_arm\n - linux_musl_x64\n - windows_x86\n jobParameters:\n testScope: outerloop\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+host.native+libs+libs.tests -c $(_BuildConfig) -testscope outerloop /p:ArchiveTests=true\n timeoutInMinutes: 180\n includeAllPlatforms: ${{ variables['isRollingBuild'] }}\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n testScope: outerloop\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - browser_wasm\n jobParameters:\n testScope: outerloop\n nameSuffix: AllSubsets_Mono\n buildArgs: -s mono+libs+libs.tests -c $(_BuildConfig) -testscope outerloop /p:ArchiveTests=true /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n timeoutInMinutes: 180\n includeAllPlatforms: ${{ variables['isRollingBuild'] }}\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n scenarios:\n - WasmTestOnChrome\n testScope: outerloop\n creator: dotnet-bot\n testRunNamePrefixSuffix: Mono_$(_BuildConfig)\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\outerloop-mono.yml | outerloop-mono.yml | YAML | 2,685 | 0.8 | 0.014085 | 0.030303 | awesome-app | 443 | 2025-05-10T05:36:56.794108 | BSD-3-Clause | false | 28d8266ac290881bf0b428767fac5189 |
trigger: none\n\nschedules:\n- cron: "0 11 * * *" # 11 AM UTC => 3 AM PST\n displayName: Outerloop scheduled build\n branches:\n include:\n - main\n - release/*.*\n\nvariables:\n - template: variables.yml\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n platforms:\n - ${{ if eq(variables['includeWindowsOuterloop'], true) }}:\n - windows_x86\n - ${{ if eq(variables['isRollingBuild'], true) }}:\n - windows_x64\n - ${{ if eq(variables['includeLinuxOuterloop'], true) }}:\n - ${{ if eq(variables['isRollingBuild'], true) }}:\n - linux_x64\n - linux_arm\n - linux_arm64\n - linux_musl_x64\n - linux_musl_arm64\n - ${{ if and(eq(variables['includeOsxOuterloop'], true), eq(variables['isRollingBuild'], true)) }}:\n - osx_arm64\n - osx_x64\n jobParameters:\n testScope: outerloop\n nameSuffix: CoreCLR_Release\n buildArgs: -s clr+host.native+libs+libs.tests -lc $(_BuildConfig) -hc $(_BuildConfig) -rc Release -testscope outerloop /p:ArchiveTests=true\n timeoutInMinutes: 180\n includeAllPlatforms: ${{ variables['isRollingBuild'] }}\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n testScope: outerloop\n creator: dotnet-bot\n testRunNamePrefixSuffix: CoreCLR_$(_BuildConfig)\n\n - ${{ if eq(variables['isRollingBuild'], false) }}:\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Debug\n platforms:\n - ${{ if eq(variables['includeWindowsOuterloop'], true) }}:\n - windows_x64\n - ${{ if eq(variables['includeLinuxOuterloop'], true) }}:\n - linux_x64\n - linux_musl_x64\n - ${{ if eq(variables['includeOsxOuterloop'], true) }}:\n - osx_arm64\n - osx_x64\n jobParameters:\n testScope: outerloop\n nameSuffix: CoreCLR_Debug\n buildArgs: -s clr+host.native+libs+libs.tests -lc $(_BuildConfig) -hc $(_BuildConfig) -rc Release -testscope outerloop /p:ArchiveTests=true\n timeoutInMinutes: 180\n includeAllPlatforms: ${{ variables['isRollingBuild'] }}\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n testScope: outerloop\n creator: dotnet-bot\n testRunNamePrefixSuffix: CoreCLR_$(_BuildConfig)\n\n - ${{ if eq(variables['includeWindowsOuterloop'], true) }}:\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n helixQueuesTemplate: /eng/pipelines/libraries/helix-queues-setup.yml\n buildConfig: Release\n platforms:\n - windows_x86\n - ${{ if eq(variables['isRollingBuild'], true) }}:\n - windows_x64\n jobParameters:\n framework: net481\n testScope: outerloop\n nameSuffix: NET481\n buildArgs: -s libs+libs.tests -c $(_BuildConfig) -testscope outerloop /p:ArchiveTests=true -f net481\n timeoutInMinutes: 180\n includeAllPlatforms: ${{ variables['isRollingBuild'] }}\n # extra steps, run tests\n postBuildSteps:\n - template: /eng/pipelines/libraries/helix.yml\n parameters:\n testScope: outerloop\n creator: dotnet-bot\n extraHelixArguments: /p:BuildTargetFramework=net481\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\outerloop.yml | outerloop.yml | YAML | 4,563 | 0.8 | 0.102804 | 0.029703 | python-kit | 866 | 2023-12-30T10:33:54.882088 | Apache-2.0 | false | 8757c9c407e0d603474c1b4d6b67db8d |
# Steps used to prepare the Artifacts Staging Directory with required files for\n# executing libraries tests as well as shared framework assets\nparameters:\n isOfficialBuild: ''\n\nsteps:\n - ${{ if ne(parameters.isOfficialBuild, true) }}:\n - task: CopyFiles@2\n displayName: Prepare bin folders to publish (unofficial build)\n inputs:\n sourceFolder: $(Build.SourcesDirectory)/artifacts/bin\n targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/bin\n contents: |\n ref/**\n runtime/**\n testhost/**\n XUnitLogChecker/**\n\n - task: CopyFiles@2\n displayName: Prepare bin folders to publish\n inputs:\n sourceFolder: $(Build.SourcesDirectory)/artifacts/bin\n targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/bin\n contents: |\n docs/**\n microsoft.netcore.app.*/**\n native/**\n \n - task: CopyFiles@2\n displayName: Prepare artifacts packages folder to publish\n inputs:\n sourceFolder: $(Build.SourcesDirectory)/artifacts/packages\n targetFolder: $(Build.ArtifactStagingDirectory)/artifacts/packages\n condition: and(succeeded(), eq(variables['_librariesBuildProducedPackages'], true))\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\prepare-for-bin-publish.yml | prepare-for-bin-publish.yml | YAML | 1,208 | 0.95 | 0.058824 | 0.064516 | node-utils | 201 | 2024-11-15T07:42:35.628840 | BSD-3-Clause | false | b50c6f45eb37131ed1566f82b2326fcb |
parameters:\n buildConfig: ''\n osGroup: ''\n archType: ''\n runtimeFlavor: 'coreclr'\n\nvariables:\n\n - name: buildConfigUpper\n ${{ if eq(parameters.buildConfig, 'debug') }}:\n value: 'Debug'\n ${{ if eq(parameters.buildConfig, 'release') }}:\n value: 'Release'\n - name: _runtimeX64DownloadPath\n value: ''\n # superpmi.py 'merge-mch' needs to be able to find the mcs tool. Point SuperPmiMcsPath at the downloaded CoreCLR binaries. For non-x64 targets, we'll also have an x64 mcs tool available.\n # so point the non-x64 builds at the x64 artifacts.\n - name: SuperPmiMcsPath\n value: $(Build.SourcesDirectory)/artifacts/bin/coreclr/${{ parameters.osGroup }}.${{ parameters.archType }}.$(buildConfigUpper)\n - ${{ if ne(parameters.archType, 'x64') }}:\n - name: SuperPmiMcsPath\n value: '$(Build.SourcesDirectory)/artifacts/bin/coreclr/${{ parameters.osGroup }}.x64.$(buildConfigUpper)/'\n - ${{ if eq(parameters.osGroup, 'windows') }}:\n - name: MchFilesLocation\n value: '$(Build.SourcesDirectory)\artifacts\helixresults\'\n - name: MergedMchFileLocation\n value: '$(Build.SourcesDirectory)\artifacts\spmi_collection\'\n - name: SpmiLogsLocation\n value: '$(Build.SourcesDirectory)\artifacts\spmi_logs\'\n - ${{ if ne(parameters.osGroup, 'windows') }}:\n - name: MchFilesLocation\n value: '$(Build.SourcesDirectory)/artifacts/helixresults/'\n - name: MergedMchFileLocation\n value: '$(Build.SourcesDirectory)/artifacts/spmi_collection/'\n - name: SpmiLogsLocation\n value: '$(Build.SourcesDirectory)/artifacts/spmi_logs/'\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\superpmi-collect-variables.yml | superpmi-collect-variables.yml | YAML | 1,583 | 0.8 | 0.138889 | 0.058824 | awesome-app | 742 | 2025-06-27T14:16:20.923499 | MIT | false | 6192abdd70db12d456b2fc83aaddb65d |
########################################################################################################\n#\n# Finalize SuperPMI collection: (1) merge all MCH files generated by all Helix jobs, (2) upload MCH file\n# to Azure Storage, (3) upload log files. Note that the steps are "condition: always()" because we want\n# to upload as much of the collection as possible, even if there were test failures.\n#\n########################################################################################################\n\nparameters:\n buildConfig: ''\n buildConfigUpper: ''\n osGroup: ''\n osSubgroup: ''\n archType: ''\n SuperPmiCollectionType: 'run'\n SuperPmiCollectionName: 'libraries_tests'\n MergedMchFileLocation: ''\n MchFilesLocation: ''\n SpmiLogsLocation: ''\n SuperPmiMcsPath: ''\n PythonSetupScript: ''\n PythonScript: ''\n PipScript: ''\n\nsteps:\n\n # Create required directories for merged mch collection and superpmi logs\n - ${{ if ne(parameters.osGroup, 'windows') }}:\n - script: |\n mkdir -p ${{ parameters.MergedMchFileLocation }}\n mkdir -p ${{ parameters.SpmiLogsLocation }}\n displayName: 'Create SuperPMI directories'\n condition: always()\n - ${{ if eq(parameters.osGroup, 'windows') }}:\n - script: |\n mkdir ${{ parameters.MergedMchFileLocation }}\n mkdir ${{ parameters.SpmiLogsLocation }}\n displayName: 'Create SuperPMI directories'\n condition: always()\n\n - script: ${{ parameters.PythonSetupScript }}\n displayName: Enable python venv\n condition: always()\n\n - script: ${{ parameters.PythonScript }} $(Build.SourcesDirectory)/src/coreclr/scripts/superpmi.py merge-mch -log_level DEBUG -pattern ${{ parameters.MchFilesLocation }}${{ parameters.SuperPmiCollectionName }}.${{ parameters.SuperPmiCollectionType }}*.mch -output_mch_path ${{ parameters.MergedMchFileLocation }}${{ parameters.SuperPmiCollectionName }}.${{ parameters.SuperPmiCollectionType }}.${{ parameters.osGroup }}.${{ parameters.archType }}.${{ parameters.buildConfig }}.mch -core_root ${{ parameters.SuperPmiMcsPath }}\n displayName: 'Merge ${{ parameters.SuperPmiCollectionName }}-${{ parameters.SuperPmiCollectionType }} SuperPMI collections'\n condition: always()\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: ${{ parameters.MergedMchFileLocation }}\n includeRootFolder: false\n archiveType: $(archiveType)\n tarCompression: $(tarCompression)\n archiveExtension: $(archiveExtension)\n artifactName: 'SuperPMI_Collection_${{ parameters.SuperPmiCollectionName }}_${{ parameters.SuperPmiCollectionType }}_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}'\n displayName: 'Upload artifacts SuperPMI ${{ parameters.SuperPmiCollectionName }}-${{ parameters.SuperPmiCollectionType }} collection'\n condition: always()\n\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n # Add authenticated pip feed\n - task: PipAuthenticate@1\n displayName: 'Pip Authenticate'\n inputs:\n artifactFeeds: public/dotnet-public-pypi\n onlyAddExtraIndex: false\n condition: always()\n\n # Ensure the Python azure-storage-blob package is installed before doing the upload.\n - script: ${{ parameters.PipScript }} install --upgrade pip && ${{ parameters.PipScript }} install azure.storage.blob==12.5.0 --force-reinstall && ${{ parameters.PipScript }} install azure.identity==1.16.1 --force-reinstall\n displayName: Upgrade Pip to latest and install azure-storage-blob and azure-identity Python packages\n condition: always()\n\n - task: AzureCLI@2\n displayName: 'Upload SuperPMI ${{ parameters.SuperPmiCollectionName }}-${{ parameters.SuperPmiCollectionType }} collection to Azure Storage'\n inputs:\n azureSubscription: 'superpmi-collect-rw'\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n ${{ parameters.PythonScript }} $(Build.SourcesDirectory)/src/coreclr/scripts/superpmi.py upload -log_level DEBUG -arch ${{ parameters.archType }} -build_type ${{ parameters.buildConfig }} -mch_files ${{ parameters.MergedMchFileLocation }}${{ parameters.SuperPmiCollectionName }}.${{ parameters.SuperPmiCollectionType }}.${{ parameters.osGroup }}.${{ parameters.archType }}.${{ parameters.buildConfig }}.mch -core_root $(Build.SourcesDirectory)/artifacts/bin/coreclr/${{ parameters.osGroup }}.x64.${{ parameters.buildConfigUpper }}\n condition: always()\n\n - task: CopyFiles@2\n displayName: Copying superpmi.log of all partitions\n inputs:\n sourceFolder: '${{ parameters.MchFilesLocation }}'\n contents: '**/${{ parameters.SuperPmiCollectionName }}.${{ parameters.SuperPmiCollectionType }}*.log'\n targetFolder: '${{ parameters.SpmiLogsLocation }}'\n condition: always()\n\n - task: PublishPipelineArtifact@1\n displayName: Publish SuperPMI logs\n inputs:\n targetPath: ${{ parameters.SpmiLogsLocation }}\n artifactName: 'SuperPMI_Logs_${{ parameters.SuperPmiCollectionName }}_${{ parameters.SuperPmiCollectionType }}_${{ parameters.osGroup }}${{ parameters.osSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }}'\n condition: always()\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\superpmi-postprocess-step.yml | superpmi-postprocess-step.yml | YAML | 5,255 | 0.95 | 0.051546 | 0.116279 | vue-tools | 891 | 2024-10-01T02:30:42.417570 | Apache-2.0 | false | 09e7b9d101dfdfbfd667d2174eee6fed |
variables:\n - template: /eng/pipelines/common/variables.yml\n - template: /eng/common/templates/variables/pool-providers.yml\n - name: buildScriptFileName\n value: libraries\n - name: sourcesRoot\n value: $(Build.SourcesDirectory)/src/libraries\n - name: pipelinesPath\n value: /eng/pipelines/libraries\n - name: isRollingBuild\n value: ${{ notIn(variables['Build.Reason'], 'PullRequest') }}\n - name: includeWindowsOuterloop\n value: ${{ or(endsWith(variables['Build.DefinitionName'], 'windows'), endsWith(variables['Build.DefinitionName'], 'outerloop')) }}\n - name: includeLinuxOuterloop\n value: ${{ or(endsWith(variables['Build.DefinitionName'], 'linux'), endsWith(variables['Build.DefinitionName'], 'outerloop')) }}\n - name: includeOsxOuterloop\n value: ${{ or(endsWith(variables['Build.DefinitionName'], 'osx'), endsWith(variables['Build.DefinitionName'], 'outerloop')) }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\variables.yml | variables.yml | YAML | 896 | 0.7 | 0 | 0 | awesome-app | 704 | 2024-12-20T08:49:38.273584 | MIT | false | e3c2fc27c407542bae6dc866f519517b |
\n# Disable pipeline for ordinary pushes to the branches\ntrigger: none\n\n# To reduce load on the pipeline, enable it only for PRs that affect critical networking code\npr:\n branches:\n include:\n - main\n - release/*.*\n\n paths:\n # If you are changing these and start including eng/common, adjust the Maestro subscriptions\n # so that this build can block dependency auto-updates (this build is currently ignored)\n include:\n - eng/pipelines/libraries/enterprise/*\n - src/libraries/Common/src/System/Net/*\n - src/libraries/Common/tests/System/Net/*\n - src/native/libs/System.Net.Security.Native/*\n - src/libraries/System.Net.Http/*\n - src/libraries/System.Net.Security/*\n\nvariables:\n - template: ../variables.yml\n - name: enterpriseTestsSetup\n value: $(sourcesRoot)/Common/tests/System/Net/EnterpriseTests/setup\n - name: containerRunTestsCommand\n value: /repo/dotnet.sh build /t:test\n - name: containerLibrariesRoot\n value: /repo/src/libraries\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n - job: EnterpriseLinuxTests\n timeoutInMinutes: 120\n pool:\n name: $(DncEngPublicBuildPool)\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n steps:\n - bash: |\n cd $(enterpriseTestsSetup)\n docker-compose build\n displayName: Build test machine images\n env:\n DOTNET_RUNTIME_REPO_ROOT: $(Build.SourcesDirectory)\n\n - bash: |\n cd $(enterpriseTestsSetup)\n docker-compose up -d\n displayName: Start test network and machines\n env:\n DOTNET_RUNTIME_REPO_ROOT: $(Build.SourcesDirectory)\n\n - bash: |\n docker exec linuxclient bash /setup/test-webserver.sh\n displayName: Test linuxclient connection to web server\n\n - bash: |\n docker exec linuxclient bash -c '/repo/build.sh -subset clr+libs -runtimeconfiguration release -ci /p:NativeOptimizationDataSupported=false'\n docker exec linuxclient bash -c '/repo/dotnet.sh build $(containerLibrariesRoot)/System.Net.Http/tests/EnterpriseTests/System.Net.Http.Enterprise.Tests.csproj'\n docker exec linuxclient bash -c '/repo/dotnet.sh build $(containerLibrariesRoot)/System.Net.Security/tests/EnterpriseTests/System.Net.Security.Enterprise.Tests.csproj'\n displayName: Build product sources\n\n - bash: |\n docker exec linuxclient bash -c 'if [ -f /erc/resolv.conf.ORI ]; then cp -f /erc/resolv.conf.ORI /etc/resolv.conf; fi'\n docker exec linuxclient $(containerRunTestsCommand) $(containerLibrariesRoot)/System.Net.Http/tests/EnterpriseTests/System.Net.Http.Enterprise.Tests.csproj\n docker exec linuxclient $(containerRunTestsCommand) $(containerLibrariesRoot)/System.Net.Security/tests/EnterpriseTests/System.Net.Security.Enterprise.Tests.csproj\n displayName: Build and run tests\n\n - bash: |\n cd $(enterpriseTestsSetup)\n docker-compose down\n displayName: Stop test network and machines\n env:\n DOTNET_RUNTIME_REPO_ROOT: $(Build.SourcesDirectory)\n\n - task: PublishTestResults@2\n inputs:\n testRunner: 'xUnit'\n testResultsFiles: '**/testResults.xml'\n testRunTitle: 'Enterprise Tests'\n mergeTestResults: true\n failTaskOnFailedTests: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\enterprise\linux.yml | linux.yml | YAML | 3,523 | 0.8 | 0.034483 | 0.052632 | vue-tools | 281 | 2025-04-26T07:31:43.973346 | BSD-3-Clause | false | c39541e477954b70e2e98c840f60a3f4 |
trigger: none\n\nschedules:\n- cron: "0 10 * * *" # 10 AM UTC\n displayName: OneFuzz deployment nightly run\n branches:\n include:\n - main\n\nvariables:\n - template: ../variables.yml\n - name: fuzzerProject\n value: $(Build.SourcesDirectory)/src/libraries/Fuzzing/DotnetFuzzing\n - name: dotnetPath\n value: $(Build.SourcesDirectory)/.dotnet/dotnet\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n - job: windows\n displayName: Build & Deploy to OneFuzz\n timeoutInMinutes: 120\n pool:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64\n\n steps:\n - checkout: self\n clean: true\n fetchDepth: 1\n lfs: false\n\n - powershell: |\n cd $(Build.SourcesDirectory)\n ./build.cmd clr+libs -rc Checked -c Debug\n displayName: Build runtime (checked + debug)\n\n - powershell: |\n cd $(fuzzerProject)\n $(dotnetPath) build-server shutdown\n $(dotnetPath) build\n displayName: Build Fuzzing targets\n\n - powershell: |\n cd $(fuzzerProject)\n $(dotnetPath) tool install --tool-path . SharpFuzz.CommandLine\n displayName: Install SharpFuzz.CommandLine\n\n - powershell: |\n cd $(fuzzerProject)\n ./run.bat\n displayName: Prepare OneFuzz deployment\n\n# OneFuzz can't currently handle a single deployment where multiple jobs share similar assemblies/pdbs.\n# As a workaround, we emit a task for every fuzzing target individually.\n# https://fuzzfest.visualstudio.com/Onefuzz/_workitems/edit/191504/ is tracking this issue.\n# - task: onefuzz-task@0\n# inputs:\n# onefuzzOSes: 'Windows'\n# env:\n# onefuzzDropDirectory: $(fuzzerProject)/deployment\n# SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n# displayName: Send to OneFuzz\n\n# ONEFUZZ_TASK_WORKAROUND_START\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/AssemblyNameInfoFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send AssemblyNameInfoFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/Base64Fuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send Base64Fuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/Base64UrlFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send Base64UrlFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/HttpHeadersFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send HttpHeadersFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/IPAddressFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send IPAddressFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/JsonDocumentFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send JsonDocumentFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/NrbfDecoderFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send NrbfDecoderFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/SearchValuesByteCharFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send SearchValuesByteCharFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/SearchValuesStringFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send SearchValuesStringFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/TextEncodingFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send TextEncodingFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/TypeNameFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send TypeNameFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/UTF8Fuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send UTF8Fuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/Utf8JsonWriterFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send Utf8JsonWriterFuzzer to OneFuzz\n\n - task: onefuzz-task@0\n inputs:\n onefuzzOSes: 'Windows'\n env:\n onefuzzDropDirectory: $(fuzzerProject)/deployment/ZipArchiveFuzzer\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n displayName: Send ZipArchiveFuzzer to OneFuzz\n# ONEFUZZ_TASK_WORKAROUND_END\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\fuzzing\deploy-to-onefuzz.yml | deploy-to-onefuzz.yml | YAML | 6,161 | 0.8 | 0.005556 | 0.076433 | node-utils | 748 | 2025-06-26T15:41:55.589532 | Apache-2.0 | false | a9dc1cc2cfc0c8a9e4b2a8dd82efbb4d |
trigger: none\n\npr:\n branches:\n include:\n - "*"\n\nschedules:\n- cron: "0 13 * * *" # 1PM UTC => 5 AM PST\n displayName: HttpStress nightly run\n always: true\n branches:\n include:\n - main\n - release/*-staging\n\nvariables:\n - template: ../variables.yml\n - name: dockerfilesFolder\n value: $(Build.SourcesDirectory)/eng/docker\n - name: httpStressProject\n value: $(sourcesRoot)/System.Net.Http/tests/StressTests/HttpStress\n - name: sdkBaseImage\n value: dotnet-sdk-libraries-current\n\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n - job: linux\n displayName: Docker Linux\n timeoutInMinutes: 240\n variables:\n DUMPS_SHARE_MOUNT_ROOT: "/dumps-share"\n DUMPS_SHARE: "$(Build.ArtifactStagingDirectory)/dumps/"\n pool:\n name: $(DncEngPublicBuildPool)\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n\n steps:\n - checkout: self\n clean: true\n fetchDepth: 5\n\n - bash: |\n $(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION) && \\n echo "##vso[task.setvariable variable=succeeded;isOutput=true]true"\n name: buildRuntime\n displayName: Build CLR and Libraries\n\n - bash: |\n $(httpStressProject)/run-docker-compose.sh -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage) && \\n echo "##vso[task.setvariable variable=succeeded;isOutput=true]true"\n name: buildStress\n displayName: Build HttpStress\n\n - bash: |\n cd '$(httpStressProject)'\n export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 3.0"\n export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 3.0"\n mkdir -p $DUMPS_SHARE\n docker-compose up --abort-on-container-exit --no-color\n timeoutInMinutes: 35 # In case the HTTP/3.0 run hangs, we timeout shortly after the expected 30 minute run\n displayName: Run HttpStress - HTTP 3.0\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - bash: |\n cd '$(httpStressProject)'\n export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 2.0"\n export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 2.0"\n mkdir -p $DUMPS_SHARE\n docker-compose up --abort-on-container-exit --no-color\n displayName: Run HttpStress - HTTP 2.0\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - bash: |\n cd '$(httpStressProject)'\n export STRESS_CLIENT_ARGS="$HTTPSTRESS_CLIENT_ARGS -http 1.1"\n export STRESS_SERVER_ARGS="$HTTPSTRESS_SERVER_ARGS -http 1.1"\n mkdir -p $DUMPS_SHARE\n docker-compose up --abort-on-container-exit --no-color\n displayName: Run HttpStress - HTTP 1.1\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - bash: |\n sudo chown -R $(id -u):$(id -g) $(Build.ArtifactStagingDirectory)/dumps\n displayName: Own shared dumps and files\n condition: failed()\n\n - publish: $(Build.ArtifactStagingDirectory)/dumps\n artifact: DumpsLinux\n condition: failed()\n\n - job: windows\n displayName: Docker NanoServer\n timeoutInMinutes: 150\n variables:\n DUMPS_SHARE_MOUNT_ROOT: "C:/dumps-share"\n DUMPS_SHARE: "$(Build.ArtifactStagingDirectory)/dumps/"\n pool:\n name: $(DncEngPublicBuildPool)\n demands: ImageOverride -equals 1es-windows-2022-open\n\n steps:\n - checkout: self\n clean: true\n fetchDepth: 5\n lfs: false\n\n - powershell: |\n $(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)\n echo "##vso[task.setvariable variable=succeeded;isOutput=true]true"\n name: buildRuntime\n displayName: Build CLR and Libraries\n\n - powershell: |\n $(httpStressProject)/run-docker-compose.ps1 -w -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage)\n echo "##vso[task.setvariable variable=succeeded;isOutput=true]true"\n name: buildStress\n displayName: Build HttpStress\n\n # Firewall is disabled for the test runs, since it can lead to unexpected TCP failures on CI machines, which are unrelated to the HTTP logic.\n # See: https://github.com/dotnet/runtime/issues/50854\n - powershell: |\n Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False\n name: disableFirewall\n displayName: Disable Firewall\n\n - powershell: |\n cd '$(httpStressProject)'\n $env:STRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 3.0"\n $env:STRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 3.0"\n New-Item -Force $env:DUMPS_SHARE -ItemType Directory\n docker compose up --abort-on-container-exit --no-color\n displayName: Run HttpStress - HTTP 3.0\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - powershell: |\n cd '$(httpStressProject)'\n $env:STRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 2.0"\n $env:STRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 2.0"\n New-Item -Force $env:DUMPS_SHARE -ItemType Directory\n docker compose up --abort-on-container-exit --no-color\n displayName: Run HttpStress - HTTP 2.0\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - powershell: |\n cd '$(httpStressProject)'\n $env:STRESS_CLIENT_ARGS = "$env:HTTPSTRESS_CLIENT_ARGS -http 1.1"\n $env:STRESS_SERVER_ARGS = "$env:HTTPSTRESS_SERVER_ARGS -http 1.1"\n New-Item -Force $env:DUMPS_SHARE -ItemType Directory\n docker compose up --abort-on-container-exit --no-color\n displayName: Run HttpStress - HTTP 1.1\n condition: and(eq(variables['buildRuntime.succeeded'], 'true'), eq(variables['buildStress.succeeded'], 'true'))\n\n - publish: $(Build.ArtifactStagingDirectory)/dumps\n artifact: DumpsWindows\n condition: failed()\n\n - powershell: |\n Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled True\n name: enableFirewall\n displayName: Enable Firewall\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\stress\http.yml | http.yml | YAML | 6,756 | 0.8 | 0.006024 | 0.013986 | vue-tools | 627 | 2023-07-15T11:05:26.844542 | Apache-2.0 | false | 8d7624dcf5a1565cb446c5e545cb1bd6 |
trigger: none\n\npr:\n branches:\n include:\n - "*"\n\nschedules:\n- cron: "0 13 * * *" # 1PM UTC => 5 AM PST\n displayName: SslStress nightly run\n always: true\n branches:\n include:\n - main\n - release/*-staging\n\nvariables:\n - template: ../variables.yml\n - name: dockerfilesFolder\n value: $(Build.SourcesDirectory)/eng/docker\n - name: sslStressProject\n value: $(sourcesRoot)/System.Net.Security/tests/StressTests/SslStress\n - name: sdkBaseImage\n value: dotnet-sdk-libraries-current\n\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n\n - job: linux\n displayName: Docker Linux\n timeoutInMinutes: 120\n variables:\n DUMPS_SHARE_MOUNT_ROOT: "/dumps-share"\n DUMPS_SHARE: "$(Build.ArtifactStagingDirectory)/dumps/"\n pool:\n name: $(DncEngPublicBuildPool)\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n\n steps:\n - checkout: self\n clean: true\n fetchDepth: 5\n\n - bash: |\n $(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)\n displayName: Build CLR and Libraries\n\n - bash: |\n $(sslStressProject)/run-docker-compose.sh -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage)\n displayName: Build SslStress\n\n - bash: |\n cd '$(sslStressProject)'\n export STRESS_CLIENT_ARGS=$SSLSTRESS_CLIENT_ARGS\n export STRESS_SERVER_ARGS=$SSLSTRESS_SERVER_ARGS\n mkdir -p $DUMPS_SHARE\n docker-compose up --abort-on-container-exit --no-color\n displayName: Run SslStress\n\n - publish: $(Build.ArtifactStagingDirectory)/dumps\n artifact: DumpsLinux\n condition: failed()\n\n - job: windows\n displayName: Docker NanoServer\n timeoutInMinutes: 120\n pool:\n name: $(DncEngPublicBuildPool)\n demands: ImageOverride -equals 1es-windows-2022-open\n variables:\n DUMPS_SHARE_MOUNT_ROOT: "C:/dumps-share"\n DUMPS_SHARE: "$(Build.ArtifactStagingDirectory)/dumps/"\n steps:\n - checkout: self\n clean: true\n fetchDepth: 5\n lfs: false\n\n - powershell: |\n $(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)\n displayName: Build CLR and Libraries\n\n - powershell: |\n $(sslStressProject)/run-docker-compose.ps1 -w -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage)\n displayName: Build SslStress\n\n - powershell: |\n cd '$(sslStressProject)'\n $env:STRESS_CLIENT_ARGS = $env:SSLSTRESS_CLIENT_ARGS\n $env:STRESS_SERVER_ARGS = $env:SSLSTRESS_SERVER_ARGS\n New-Item -Force $env:DUMPS_SHARE -ItemType Directory\n docker compose up --abort-on-container-exit --no-color\n displayName: Run SslStress\n\n - publish: $(Build.ArtifactStagingDirectory)/dumps\n artifact: DumpsWindows\n condition: failed() | dataset_sample\yaml\dotnet_runtime\eng\pipelines\libraries\stress\ssl.yml | ssl.yml | YAML | 3,115 | 0.8 | 0 | 0 | python-kit | 522 | 2025-07-07T19:29:45.524498 | BSD-3-Clause | false | 87ef5e06e683d1cf101a1cae1cb18789 |
parameters:\n- name: buildStage\n type: stage\n- name: otherStages\n type: stageList\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n isOfficialBuild: true\n stages:\n - ${{ each stage in parameters.otherStages }}:\n - ${{ insert }}: ${{ stage }}\n - ${{ insert }}: ${{ parameters.buildStage }}\n\n - stage: Publish\n jobs:\n - template: /eng/pipelines/official/prepare-signed-artifacts.yml\n parameters:\n buildStage: ${{ parameters.buildStage }}\n logArtifactName: 'Logs-PrepareSignedArtifacts_Attempt$(System.JobAttempt)'\n - template: /eng/common/templates-official/job/publish-build-assets.yml\n parameters:\n publishUsingPipelines: true\n publishAssetsImmediately: true\n pool:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals 1es-windows-2022\n symbolPublishingAdditionalParameters: '/p:PublishSpecialClrFiles=true'\n dependsOn: PrepareSignedArtifacts\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\official\pipeline.yml | pipeline.yml | YAML | 1,039 | 0.7 | 0 | 0 | react-lib | 262 | 2024-11-16T20:14:25.710214 | GPL-3.0 | false | ae7847982d3c1c9723e87871fa12625e |
parameters:\n - name: logArtifactName\n type: string\n default: 'Logs-PrepareSignedArtifacts_Attempt$(System.JobAttempt)'\n - name: buildStage\n type: stage\n\njobs:\n- template: /eng/common/templates-official/job/job.yml\n parameters:\n name: 'PrepareSignedArtifacts'\n displayName: 'Prepare Signed Artifacts'\n\n pool:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals 1es-windows-2022\n\n # Double the default timeout.\n timeoutInMinutes: 240\n\n workspace:\n clean: all\n\n enableMicrobuild: true\n\n variables:\n - name: '_SignType'\n value: $[ coalesce(variables.OfficialSignType, 'real') ]\n \n templateContext:\n inputs:\n - input: checkout\n repository: self\n clean: true\n fetchDepth: 20\n - ${{ each job in parameters.buildStage.jobs }}:\n # Source Build publishes itself, so we don't need to publish it\n - ${{ if notIn(job.job, 'Source_Build_Linux_x64')}}:\n - input: pipelineArtifact\n artifactName: ${{ job.job }}_Artifacts\n targetPath: $(Build.SourcesDirectory)\artifacts\n itemPattern: |\n **/*\n !_manifest/**/*\n outputs:\n - output: pipelineArtifact\n displayName: 'Publish BuildLogs'\n condition: succeededOrFailed()\n targetPath: '$(Build.StagingDirectory)\BuildLogs'\n artifactName: ${{ parameters.logArtifactName }}\n \n steps:\n - script: >-\n build.cmd -restore -sign -publish -ci -configuration Release\n /p:RestoreToolsetOnly=true\n /p:OfficialBuildId=$(Build.BuildNumber)\n /p:SignType=$(_SignType)\n /p:DotNetSignType=$(_SignType)\n /p:DotNetPublishUsingPipelines=true\n /p:DotNetFinalPublish=true\n /bl:$(Build.SourcesDirectory)\prepare-artifacts.binlog\n displayName: Prepare artifacts and upload to build\n \n - task: CopyFiles@2\n displayName: Copy Files to $(Build.StagingDirectory)\BuildLogs\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)'\n Contents: |\n **/*.log\n **/*.binlog\n TargetFolder: '$(Build.StagingDirectory)\BuildLogs'\n continueOnError: true\n condition: succeededOrFailed() | dataset_sample\yaml\dotnet_runtime\eng\pipelines\official\prepare-signed-artifacts.yml | prepare-signed-artifacts.yml | YAML | 2,241 | 0.8 | 0.013889 | 0.078125 | python-kit | 278 | 2024-02-01T19:19:28.680386 | Apache-2.0 | false | 466cd5bf1c53ca2aefc54f760510d117 |
parameters:\n- name: runPrivateJobs\n displayName: Upload artifacts to blob storage\n type: boolean\n default: false\n- name: mauiFramework\n type: string\n default: 'net9.0'\n- name: coreclr_arm64_linux\n displayName: Build Coreclr Arm64 Linux\n type: boolean\n default: true\n- name: coreclr_arm64_windows\n displayName: Build Coreclr Arm64 Windows\n type: boolean\n default: true\n- name: coreclr_muslx64_linux\n displayName: Build Coreclr Musl x64 Linux\n type: boolean\n default: true\n- name: coreclr_x64_linux\n displayName: Build Coreclr x64 Linux\n type: boolean\n default: true\n- name: coreclr_x64_windows\n displayName: Build Coreclr x64 Windows\n type: boolean\n default: true\n- name: coreclr_x86_windows\n displayName: Build Coreclr x86 Windows\n type: boolean\n default: true\n- name: coreclr_arm64_android\n displayName: Build Coreclr Arm64 Android\n type: boolean\n default: true\n- name: wasm\n displayName: Build WebAssembly (wasm)\n type: boolean\n default: true\n- name: monoAot_arm64_linux\n displayName: Build Mono AOT Arm64 Linux\n type: boolean\n default: true\n- name: monoAot_x64_linux\n displayName: Build Mono AOT x64 Linux\n type: boolean\n default: true\n- name: mono_x64_linux\n displayName: Build Mono x64 Linux\n type: boolean\n default: true\n- name: mono_arm64_linux\n displayName: Build Mono Arm64 Linux\n type: boolean\n default: true\n- name: mono_arm64_android\n displayName: Build Mono Arm64 Android\n type: boolean\n default: true\n- name: mono_arm64_ios\n displayName: Build Mono Arm64 iOS\n type: boolean\n default: true\n- name: monoBDN_arm64_android\n displayName: Build Mono Arm64 Android BDN (Not working)\n type: boolean\n default: false # currently not working\n- name: nativeAot_arm64_ios\n displayName: Build native AOT Arm64 iOS\n type: boolean\n default: true\n\ntrigger:\n batch: false # we want to build every single commit\n branches:\n include:\n - main\n - release/9.0\n - release/8.0\n paths:\n include:\n - '*'\n # do not exclude any paths, as we want to build every single commit\n\nresources:\n repositories:\n - repository: performance\n type: git\n name: internal/dotnet-performance\n # if you need to specify explicit branch use 'ref:' - for example ref: ekharion/store-latest-build\n\nvariables:\n - template: /eng/pipelines/common/variables.yml\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.Reason'], 'IndividualCI'), parameters.runPrivateJobs)) }}:\n - stage: RegisterBuild\n displayName: 'Register Build'\n jobs:\n - template: /eng/pipelines/register-build-jobs.yml@performance\n parameters:\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n buildType:\n - ${{ if eq(parameters.coreclr_arm64_linux, true) }}:\n - coreclr_arm64_linux\n - ${{ if eq(parameters.coreclr_arm64_windows, true) }}:\n - coreclr_arm64_windows\n - ${{ if eq(parameters.coreclr_muslx64_linux, true) }}:\n - coreclr_muslx64_linux\n - ${{ if eq(parameters.coreclr_x64_linux, true) }}:\n - coreclr_x64_linux\n - ${{ if eq(parameters.coreclr_x64_windows, true) }}:\n - coreclr_x64_windows\n - ${{ if eq(parameters.coreclr_x86_windows, true) }}:\n - coreclr_x86_windows\n - ${{ if eq(parameters.coreclr_arm64_android, true) }}:\n - coreclr_arm64_android\n - ${{ if eq(parameters.wasm, true) }}:\n - wasm\n - ${{ if eq(parameters.monoAot_arm64_linux, true) }}:\n - monoAot_arm64_linux\n - ${{ if eq(parameters.monoAot_x64_linux, true) }}:\n - monoAot_x64_linux\n - ${{ if eq(parameters.mono_x64_linux, true) }}:\n - mono_x64_linux\n - ${{ if eq(parameters.mono_arm64_linux, true) }}:\n - mono_arm64_linux\n - ${{ if eq(parameters.mono_arm64_android, true) }}:\n - mono_arm64_android\n - ${{ if eq(parameters.mono_arm64_ios, true) }}:\n - mono_arm64_ios\n - ${{ if eq(parameters.monoBDN_arm64_android, true) }}:\n - monoBDN_arm64_android\n - ${{ if eq(parameters.nativeAot_arm64_ios, true) }}:\n - nativeAot_arm64_ios\n\n - stage: Build\n displayName: 'Build'\n dependsOn: [] # so it runs in parallel with the RegisterBuild stage\n jobs:\n - template: /eng/pipelines/runtime-perf-build-jobs.yml@performance\n parameters:\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n buildType:\n - ${{ if eq(parameters.coreclr_arm64_linux, true) }}:\n - coreclr_arm64_linux\n - ${{ if eq(parameters.coreclr_arm64_windows, true) }}:\n - coreclr_arm64_windows\n - ${{ if eq(parameters.coreclr_muslx64_linux, true) }}:\n - coreclr_muslx64_linux\n - ${{ if eq(parameters.coreclr_x64_linux, true) }}:\n - coreclr_x64_linux\n - ${{ if eq(parameters.coreclr_x64_windows, true) }}:\n - coreclr_x64_windows\n - ${{ if eq(parameters.coreclr_x86_windows, true) }}:\n - coreclr_x86_windows\n - ${{ if eq(parameters.coreclr_arm64_android, true) }}:\n - coreclr_arm64_android\n - ${{ if eq(parameters.wasm, true) }}:\n - wasm\n - ${{ if eq(parameters.monoAot_arm64_linux, true) }}:\n - monoAot_arm64_linux\n - ${{ if eq(parameters.monoAot_x64_linux, true) }}:\n - monoAot_x64_linux\n - ${{ if eq(parameters.mono_x64_linux, true) }}:\n - mono_x64_linux\n - ${{ if eq(parameters.mono_arm64_linux, true) }}:\n - mono_arm64_linux\n - ${{ if eq(parameters.mono_arm64_android, true) }}:\n - mono_arm64_android\n - ${{ if eq(parameters.mono_arm64_ios, true) }}:\n - mono_arm64_ios\n - ${{ if eq(parameters.monoBDN_arm64_android, true) }}:\n - monoBDN_arm64_android\n - ${{ if eq(parameters.nativeAot_arm64_ios, true) }}:\n - nativeAot_arm64_ios\n ${{ if parameters.mauiFramework }}:\n mauiFramework: ${{ parameters.mauiFramework }}\n \n - ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.Reason'], 'IndividualCI'), parameters.runPrivateJobs)) }}:\n - stage: UploadArtifacts\n displayName: 'Upload Artifacts'\n condition: always()\n dependsOn:\n - Build\n - RegisterBuild\n jobs:\n - template: /eng/pipelines/upload-build-artifacts-jobs.yml@performance\n parameters:\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n buildType:\n - ${{ if eq(parameters.coreclr_arm64_linux, true) }}:\n - coreclr_arm64_linux\n - ${{ if eq(parameters.coreclr_arm64_windows, true) }}:\n - coreclr_arm64_windows\n - ${{ if eq(parameters.coreclr_muslx64_linux, true) }}:\n - coreclr_muslx64_linux\n - ${{ if eq(parameters.coreclr_x64_linux, true) }}:\n - coreclr_x64_linux\n - ${{ if eq(parameters.coreclr_x64_windows, true) }}:\n - coreclr_x64_windows\n - ${{ if eq(parameters.coreclr_x86_windows, true) }}:\n - coreclr_x86_windows\n - ${{ if eq(parameters.coreclr_arm64_android, true) }}:\n - coreclr_arm64_android\n - ${{ if eq(parameters.wasm, true) }}:\n - wasm\n - ${{ if eq(parameters.monoAot_arm64_linux, true) }}:\n - monoAot_arm64_linux\n - ${{ if eq(parameters.monoAot_x64_linux, true) }}:\n - monoAot_x64_linux\n - ${{ if eq(parameters.mono_x64_linux, true) }}:\n - mono_x64_linux\n - ${{ if eq(parameters.mono_arm64_linux, true) }}:\n - mono_arm64_linux\n - ${{ if eq(parameters.mono_arm64_android, true) }}:\n - mono_arm64_android\n - ${{ if eq(parameters.mono_arm64_ios, true) }}:\n - mono_arm64_ios\n - ${{ if eq(parameters.monoBDN_arm64_android, true) }}:\n - monoBDN_arm64_android\n - ${{ if eq(parameters.nativeAot_arm64_ios, true) }}:\n - nativeAot_arm64_ios\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\perf-build.yml | perf-build.yml | YAML | 8,693 | 0.8 | 0.230435 | 0.008929 | react-lib | 415 | 2024-07-26T09:12:29.348492 | MIT | false | 41ad8527cdb229aed37c6f090a507dd1 |
parameters:\n- name: runPrivateJobs\n type: boolean\n default: false\n- name: runScheduledJobs\n type: boolean\n default: false\n- name: onlySanityCheck\n type: boolean\n default: false\n\ntrigger:\n batch: true\n branches:\n include:\n - main\n - release/9.0\n - release/8.0\n paths:\n include:\n - '*'\n exclude:\n - '**.md'\n - .devcontainer/*\n - .github/*\n - docs/*\n - LICENSE.TXT\n - PATENTS.TXT\n - THIRD-PARTY-NOTICES.TXT\n\nresources:\n repositories:\n - repository: performance\n type: git\n name: internal/dotnet-performance\n\nvariables:\n - template: /eng/pipelines/common/variables.yml\n\nschedules:\n- cron: "30 2 * * *"\n displayName: Every night at 2:30AM\n branches:\n include:\n - main\n always: true\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n - ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - template: /eng/pipelines/runtime-slow-perf-jobs.yml@performance\n parameters:\n ${{ if or(in(variables['Build.Reason'], 'Schedule'), parameters.runScheduledJobs) }}:\n runScheduledJobs: true\n ${{ if or(notin(variables['Build.Reason'], 'Schedule', 'Manual'), parameters.runPrivateJobs) }}:\n runPrivateJobs: true\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n jobParameters:\n ${{ if parameters.onlySanityCheck }}:\n onlySanityCheck: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\perf-slow.yml | perf-slow.yml | YAML | 1,530 | 0.8 | 0.061538 | 0 | react-lib | 271 | 2023-10-25T19:26:57.190639 | Apache-2.0 | false | 28a87d0971b01573c31d96655ef6ee52 |
parameters:\n - name: onlySanityCheck\n type: boolean\n default: false\n\ntrigger:\n batch: true\n branches:\n include:\n - main\n - release/9.0\n - release/8.0\n paths:\n include:\n - '*'\n exclude:\n - '**.md'\n - .devcontainer/*\n - .github/*\n - docs/*\n - LICENSE.TXT\n - PATENTS.TXT\n - THIRD-PARTY-NOTICES.TXT\n\nresources:\n repositories:\n - repository: performance\n type: git\n name: internal/dotnet-performance\n\nvariables:\n- template: /eng/pipelines/common/variables.yml\n\n#\n# For the 'schedule' case, only wasm/jsc perf jobs are run.\n# And the rest are build jobs - wasm, mono, coreclr, and libraries.\n#\n# Since, we are not running *any* perf jobs, none of these builds are needed,\n# thus the whole scheduled run can be disabled.\n#\nschedules:\n- cron: "0 0 * * 1"\n displayName: Weekly Monday 12am UTC Build\n branches:\n include:\n - main\n always: true\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n\n - template: /eng/pipelines/runtime-wasm-perf-jobs.yml@performance\n parameters:\n #${{ and(ne(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'Schedule')) }}:\n # runProfile: 'non-v8'\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n runProfile: 'v8'\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n jobParameters:\n ${{ if parameters.onlySanityCheck }}:\n onlySanityCheck: true\n\n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'Schedule')) }}:\n - template: /eng/pipelines/runtime-perf-jobs.yml@performance\n parameters:\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n jobParameters:\n ${{ if parameters.onlySanityCheck }}:\n onlySanityCheck: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\perf.yml | perf.yml | YAML | 1,979 | 0.8 | 0.053333 | 0.132353 | react-lib | 439 | 2023-11-08T21:38:03.906742 | Apache-2.0 | false | db54b7f6ebdfbfd18581fa4e69744b1e |
# This is a wrapper yml for `perf-wasm-jobs`, which has all the perf related\n# wasm jobs. This file is essentially so we can point the pipeline in azdo\n# UI to this, and thus avoid any scheduled triggers\n\ntrigger: none\n\npr:\n branches:\n include:\n - main\n paths:\n include:\n - eng/pipelines/performance/*\n - eng/testing/performance/*\n - eng/testing/BrowserVersions.props\n\nresources:\n repositories:\n - repository: performance\n type: github\n name: dotnet/performance\n endpoint: public\n\nvariables:\n - template: /eng/pipelines/common/variables.yml\n\nextends:\n template: /eng/pipelines/common/templates/pipeline-with-resources.yml\n parameters:\n stages:\n - stage: Build\n jobs:\n - template: /eng/pipelines/runtime-wasm-perf-jobs.yml@performance\n parameters:\n runtimeRepoAlias: self\n performanceRepoAlias: performance\n runProfile: 'v8'\n jobParameters:\n onlySanityCheck: true\n #downloadSpecificBuild:\n #buildId: '1878694'\n #pipeline: 'perf-wasm'\n #branchName: 'refs/pull/72119/head'\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\runtime-wasm-perf.yml | runtime-wasm-perf.yml | YAML | 1,125 | 0.8 | 0.023256 | 0.184211 | awesome-app | 674 | 2024-01-10T19:00:02.603352 | Apache-2.0 | false | b03dd9efe416312b29fca9a75995b97a |
parameters:\n osGroup: ''\n osSubgroup: ''\n archType: ''\n buildConfig: ''\n runtimeFlavor: ''\n helixQueues: ''\n targetRid: ''\n nameSuffix: ''\n platform: ''\n shouldContinueOnError: ''\n rootFolder: ''\n includeRootFolder: ''\n displayName: ''\n artifactName: ''\n archiveExtension: ''\n archiveType: ''\n tarCompression: ''\n framework: 'net9.0' # Framework version to get versions for and build for\n perfBranch: 'main' # Performance branch to use for cloning\n\n\nsteps:\n - task: DownloadPipelineArtifact@2\n displayName: Download runtime packages\n inputs:\n artifact: 'IntermediateArtifacts'\n path: $(Build.SourcesDirectory)/ArtifactPacks\n patterns: |\n IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.android-!(*.symbols).nupkg\n\n # # Other artifacts to include once they are being built\n # # EX. IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-*.nupkg\n\n - task: CopyFiles@2\n displayName: Flatten packages\n inputs:\n sourceFolder: $(Build.SourcesDirectory)/ArtifactPacks\n contents: '*/Shipping/*.nupkg'\n cleanTargetFolder: false\n targetFolder: $(Build.SourcesDirectory)/ArtifactPacks\n flattenFolders: true\n\n - script: |\n for file in *.nupkg\n do\n mv -v "$file" "${file%.nupkg}.zip"\n done\n displayName: Change nupkgs to zips\n workingDirectory: $(Build.SourcesDirectory)/ArtifactPacks\n\n - task: ExtractFiles@1\n displayName: Extract android-arm64 runtime\n inputs:\n archiveFilePatterns: $(Build.SourcesDirectory)/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm64.*.zip\n destinationFolder: $(Build.SourcesDirectory)/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm64\n overwriteExistingFiles: true\n cleanDestinationFolder: false\n\n - script: $(Build.SourcesDirectory)/eng/testing/performance/create-provisioning-profile.sh\n displayName: Create iOS code signing and provisioning profile\n\n - script: |\n set -x\n pwd\n git clone https://github.com/dotnet/maui.git --depth 1 -b ${{parameters.framework}} --single-branch\n displayName: Clone Maui\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n set -x\n pwd\n git clone https://github.com/dotnet/performance.git --depth 1 -b ${{parameters.perfBranch}} --single-branch\n displayName: Clone performance\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n pwd\n echo '$(Build.SourcesDirectory)/rollback.json'\n export PYTHONPATH=$PYTHONPATH:$(Build.SourcesDirectory)/performance/scripts:$(Build.SourcesDirectory)/performance/src/scenarios\n python -c "import mauisharedpython; roll_dict = mauisharedpython.generate_maui_rollback_dict(); mauisharedpython.dump_dict_to_json_file(roll_dict, '$(Build.SourcesDirectory)/rollback.json')"\n displayName: Generate rollback.json\n workingDirectory: $(Build.SourcesDirectory)/performance/src/scenarios/shared\n\n - script: |\n echo '{ }' > ./global.json\n curl -o NuGet.config 'https://raw.githubusercontent.com/dotnet/maui/${{parameters.framework}}/NuGet.config'\n curl -o dotnet-install.sh 'https://builds.dotnet.microsoft.com/dotnet/scripts/v1/dotnet-install.sh'\n version=$(sed -nr 's/[[:space:]]*<Dependency Name="Microsoft.NET.Sdk" Version="([^"]*)"[[:space:]]?.*/\1/p' ./performance/eng/Version.Details.xml)\n echo dotnet-version: $version\n chmod -R a+rx .\n ./dotnet-install.sh --version $version --install-dir .\n ./dotnet --info\n ./dotnet workload install maui --from-rollback-file rollback.json --configfile NuGet.config\n ./dotnet workload install android --from-rollback-file rollback.json --configfile NuGet.config\n displayName: Install MAUI workload\n workingDirectory: $(Build.SourcesDirectory)\n\n - pwsh: |\n $BenchmarkDotNetVersionCapture = Get-Content .\performance\eng\Versions.props | Select-String -Pattern '<BenchmarkDotNetVersion>(.+?)</BenchmarkDotNetVersion>'\n if ($BenchmarkDotNetVersionCapture.Length -eq 0) {\n Write-Error "BenchmarkDotNetVersion not found in Versions.props"\n exit 1\n }\n $BenchmarkDotNetVersion = $BenchmarkDotNetVersionCapture.Matches.Groups[1].Value\n\n $instrumentationFileContent = Get-Content .\maui\src\Core\tests\Benchmarks.Droid\MainInstrumentation.cs\n $perfLabExportLine = $instrumentationFileContent | Select-String -Pattern 'using BenchmarkDotNet.Toolchains.InProcess.Emit;'\n $lineNumber = $perfLabExportLine.LineNumber\n $instrumentationFileContent[$lineNumber-1] += "using BenchmarkDotNet.Extensions;"\n\n $perfLabExportLine = $instrumentationFileContent | Select-String -Pattern 'var config = ManualConfig'\n $lineNumber = $perfLabExportLine.LineNumber\n $instrumentationFileContent[$lineNumber-1] += ".AddExporter(new PerfLabExporter()).WithArtifactsPath(`"/storage/emulated/0/Android/data/com.microsoft.maui.benchmarks/files`")"\n $instrumentationFileContent | Set-Content .\maui\src\Core\tests\Benchmarks.Droid\MainInstrumentation.cs\n\n $benchmarksDroidConfigFileContent = Get-Content .\maui\src\Core\tests\Benchmarks.Droid\Benchmarks.Droid.csproj\n\n $propertyGroupLine = $benchmarksDroidConfigFileContent | Select-String -Pattern '<PropertyGroup>'\n $lineNumber = $propertyGroupLine.LineNumber\n $benchmarksDroidConfigFileContent[$lineNumber-1] += "<DefineConstants>`$(DefineConstants);PERFLAB_INLAB</DefineConstants>"\n\n $packageReferenceLine = $benchmarksDroidConfigFileContent | Select-String -Pattern '<PackageReference Include="BenchmarkDotNet"'\n $lineNumber = $packageReferenceLine.LineNumber\n $benchmarksDroidConfigFileContent[$lineNumber-1] = " <PackageReference Include=`"BenchmarkDotNet`" Version=`"$BenchmarkDotNetVersion`" />"\n\n $projectReferenceLine = $benchmarksDroidConfigFileContent | Select-String -Pattern '<ProjectReference Include="..\\..\\src\\Core.csproj" />'\n $lineNumber = $projectReferenceLine.LineNumber\n $benchmarksDroidConfigFileContent[$lineNumber-1] += "<ProjectReference Include=`"..\..\..\..\..\performance\src\harness\BenchmarkDotnet.Extensions\BenchmarkDotnet.Extensions.csproj`" />"\n\n $targetLine = $benchmarksDroidConfigFileContent | Select-String -Pattern '</Target>'\n $lineNumber = $targetLine.LineNumber\n $benchmarksDroidConfigFileContent[$lineNumber-1] += "\n <!-- Change AfterTargets back to 'UpdateTargetingAndRuntimePack' when reenabling pack injection -->\n <Target Name=`"PrintRuntimePackLocation`" AfterTargets=`"UpdateTargetingAndRuntimePack`">\n <Message Text=`"Used runtime pack: %(ResolvedRuntimePack.PackageDirectory)`" Importance=`"high`" />\n </Target>\n\n <!--Use local targeting pack for NetCoreAppCurrent.-->\n <Target Name=`"UpdateTargetingAndRuntimePack`"\n AfterTargets=`"ResolveFrameworkReferences`">\n <PropertyGroup>\n <MicrosoftNetCoreAppRuntimePackDir>`$(Build.SourcesDirectory)/ArtifactPacks</MicrosoftNetCoreAppRuntimePackDir>\n </PropertyGroup>\n <ItemGroup>\n <ResolvedRuntimePack PackageDirectory=`"`$(MicrosoftNetCoreAppRuntimePackDir)/Microsoft.NETCore.App.Runtime.Mono.android-arm64`"\n Condition=`"'%(ResolvedRuntimePack.FrameworkName)' == 'Microsoft.NETCore.App' and '%(ResolvedRuntimePack.RuntimeIdentifier)' == 'android-arm64'`" />\n </ItemGroup>\n </Target>\n "\n\n $benchmarksDroidConfigFileContent | Set-Content .\maui\src\Core\tests\Benchmarks.Droid\Benchmarks.Droid.csproj\n displayName: Insert Target Replace, BDN config link, and PerfLabExporter\n workingDirectory: $(Build.SourcesDirectory)\n\n# Remove the embed assemblies from source\n - script: |\n ../dotnet build ./src/Core/tests/Benchmarks.Droid/Benchmarks.Droid.csproj --configuration Release -bl:BenchmarksDroid.binlog /p:TF_Build=False /p:TreatPreviousAsCurrent=true\n mv ./artifacts/bin/Benchmarks.Droid/Release/${{parameters.framework}}-android/android-arm64/com.microsoft.maui.benchmarks-Signed.apk ./MonoBenchmarksDroid.apk\n displayName: Build BDN Android App\n workingDirectory: $(Build.SourcesDirectory)/maui\n\n - task: PublishBuildArtifacts@1\n condition: succeededOrFailed()\n displayName: 'Publish Benchmarks.Droid binlog'\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/maui/BenchmarksDroid.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/maui/MonoBenchmarksDroid.apk\n includeRootFolder: true\n displayName: Android BDN Apk\n artifactName: AndroidBDNApk\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n nameSuffix: ${{ parameters.nameSuffix }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n rootFolder: ${{ parameters.rootFolder }}\n includeRootFolder: ${{ parameters.includeRootFolder }}\n displayName: ${{ parameters.displayName }}\n artifactName: ${{ parameters.artifactName }}\n archiveExtension: ${{ parameters.archiveExtension }}\n archiveType: ${{ parameters.archiveType }}\n tarCompression: ${{ parameters.tarCompression }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\build-perf-bdn-app.yml | build-perf-bdn-app.yml | YAML | 9,761 | 0.95 | 0.030303 | 0.017341 | vue-tools | 103 | 2024-01-21T03:07:47.147336 | GPL-3.0 | false | 321248d570ddc741cfb1f335b5538a7f |
parameters:\n osGroup: ''\n osSubgroup: ''\n archType: ''\n buildConfig: ''\n runtimeFlavor: ''\n helixQueues: ''\n targetRid: ''\n nameSuffix: ''\n platform: ''\n shouldContinueOnError: ''\n rootFolder: ''\n includeRootFolder: ''\n displayName: ''\n artifactName: ''\n archiveExtension: ''\n archiveType: ''\n tarCompression: ''\n\n\nsteps:\n # There is a global.json in the runtime repo, but it sets the version to 7.xxx preview. This creates a local global.json to allow the running of 6.0 version.\n - script: |\n echo '{}' > ./global.json \n displayName: Create global.json\n workingDirectory: $(Build.SourcesDirectory)\n\n # Get the current maui nuget config so all things can be found and darc based package sources are kept up to date.\n - script: |\n curl -o NuGet.config 'https://raw.githubusercontent.com/dotnet/maui/net6.0/NuGet.config'\n curl -o dotnet-install.sh 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh'\n chmod -R a+rx .\n ./dotnet-install.sh --channel 6.0 --quality daily --install-dir .\n ./dotnet --info\n ./dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/net6.0.json --configfile NuGet.config\n displayName: Install MAUI workload\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: $(Build.SourcesDirectory)/eng/testing/performance/create-provisioning-profile.sh\n displayName: Create iOS code signing and provisioning profile\n\n - script: |\n ./dotnet new maui -n MauiTesting\n cd MauiTesting\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props.net6 ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets.net6 ./Directory.Build.targets\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n displayName: Setup MAUI Project\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # Restore is split out because of https://github.com/dotnet/sdk/issues/21877, can be removed with --no-restore once fixed\n ../dotnet restore\n ../dotnet publish -bl:MauiAndroid.binlog -f net6.0-android -c Release -r android-arm64 --no-restore --self-contained\n mv ./bin/Release/net6.0-android/android-arm64/com.companyname.mauitesting-Signed.apk ./MauiAndroidDefault.apk\n displayName: Build MAUI Android\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n # This step pulls the product version from the used Microsoft.Maui.dll file properties and saves it for upload with the maui test counter.\n # We pull from this file as we did not find another place to reliably get the version information pre or post build.\n - powershell: |\n $RetrievedMauiVersion = Get-ChildItem .\obj\Release\net6.0-android\android-arm64\linked\Microsoft.Maui.dll | Select-Object -ExpandProperty VersionInfo | Select-Object ProductVersion | Select-Object -ExpandProperty ProductVersion\n $RetrievedMauiVersion\n Write-Host "##vso[task.setvariable variable=mauiVersion;isOutput=true]$RetrievedMauiVersion"\n name: getMauiVersion\n displayName: Get and Save MAUI Version\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n set -x\n pwd\n git clone https://github.com/microsoft/dotnet-podcasts.git -b maui/perf --single-branch\n cd dotnet-podcasts\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props.net6 ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets.net6 ./Directory.Build.targets\n displayName: Clone podcast app\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # remove net6.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp MauiTesting.csproj MauiTesting.csproj.bak\n sed -i'' -e 's/net6.0-ios;net6.0-maccatalyst/net6.0-ios/g' MauiTesting.csproj\n\n ../dotnet publish -bl:MauiiOS.binlog -f net6.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.mauitesting\n mv ./bin/Release/net6.0-ios/ios-arm64/publish/MauiTesting.ipa ./MauiiOSDefault.ipa\n\n cp MauiTesting.csproj.bak MauiTesting.csproj\n displayName: Build MAUI Default iOS\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n chmod -R a+r .\n # remove net6.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp Microsoft.NetConf2021.Maui.csproj Microsoft.NetConf2021.Maui.csproj.bak\n sed -i'' -e 's/net6.0-ios;net6.0-maccatalyst/net6.0-ios/g' Microsoft.NetConf2021.Maui.csproj\n\n ../../../dotnet build ../Web/Components/Podcast.Components.Maui.csproj\n ../../../dotnet publish Microsoft.NetConf2021.Maui.csproj -bl:MauiiOSPodcast.binlog -f net6.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.netconf2021.maui\n mv ./bin/Release/net6.0-ios/ios-arm64/publish/Microsoft.NetConf2021.Maui.ipa ./MauiiOSPodcast.ipa\n\n cp Microsoft.NetConf2021.Maui.csproj.bak Microsoft.NetConf2021.Maui.csproj\n displayName: Build MAUI Podcast iOS\n workingDirectory: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile\n\n - script: |\n chmod -R a+r .\n ../dotnet publish -bl:MauiMacCatalyst.binlog -f net6.0-maccatalyst -c Release\n mv ./bin/Release/net6.0-maccatalyst/maccatalyst-x64/MauiTesting.app ./MauiMacCatalystDefault.app\n displayName: Build MAUI MacCatalyst\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n ./dotnet new maui-blazor -n MauiBlazorTesting\n cd MauiBlazorTesting\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props.net6 ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets.net6 ./Directory.Build.targets\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n echo -e "using Microsoft.AspNetCore.Components;\n #if ANDROID\n using Android.App;\n #endif\n\n namespace MauiBlazorTesting.Pages\n {\n public partial class Index\n {\n protected override void OnAfterRender(bool firstRender)\n {\n if (firstRender)\n {\n #if ANDROID\n var activity = MainActivity.Context as Activity;\n activity.ReportFullyDrawn();\n #else\n System.Console.WriteLine(\"__MAUI_Blazor_WebView_OnAfterRender__\");\n #endif\n }\n }\n }\n }" > Pages/Index.razor.cs\n\n sed -i'' -e "s/{/{\npublic static Android.Content.Context Context { get; private set; }\npublic MainActivity() { Context = this; }/g" Platforms/Android/MainActivity.cs\n displayName: Setup MAUI Blazor Hybrid Project\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # remove net6.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp MauiBlazorTesting.csproj MauiBlazorTesting.csproj.bak\n sed -i'' -e 's/net6.0-ios;net6.0-maccatalyst/net6.0-ios/g' MauiBlazorTesting.csproj\n\n # NuGet.config file cannot be in the build directory currently due to https://github.com/dotnet/aspnetcore/issues/41397\n rm NuGet.config\n\n ../dotnet publish -bl:MauiBlazoriOS.binlog -f net6.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.mauiblazortesting\n mv ./bin/Release/net6.0-ios/ios-arm64/publish/MauiBlazorTesting.ipa ./MauiBlazoriOSDefault.ipa\n\n # Restore NuGet.config\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n cp MauiBlazorTesting.csproj.bak MauiBlazorTesting.csproj\n displayName: Build MAUI Blazor iOS\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n\n - script: |\n chmod -R a+r .\n\n # NuGet.config file cannot be in the build directory currently due to https://github.com/dotnet/aspnetcore/issues/41397\n rm NuGet.config\n\n ../dotnet publish -bl:MauiBlazorMacCatalyst.binlog -f net6.0-maccatalyst -c Release\n\n # Restore NuGet.config\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n mv ./bin/Release/net6.0-maccatalyst/maccatalyst-x64/MauiBlazorTesting.app ./MauiBlazorMacCatalystDefault.app\n displayName: Build MAUI Blazor MacCatalyst\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiAndroid binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiAndroid.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiiOS binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiiOS.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiMacCatalyst binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiMacCatalyst.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiBlazoriOS binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazoriOS.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiBlazorMacCatalyst binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazorMacCatalyst.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiiOSPodcast binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile/MauiiOSPodcast.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiTesting/MauiAndroidDefault.apk\n includeRootFolder: true\n displayName: Maui Android App\n artifactName: MauiAndroidAppNet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiTesting/MauiiOSDefault.ipa\n includeRootFolder: true\n displayName: Maui iOS IPA\n artifactName: MauiiOSDefaultIPANet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazoriOSDefault.ipa\n includeRootFolder: true\n displayName: Maui Blazor iOS IPA\n artifactName: MauiBlazoriOSDefaultIPANet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile/MauiiOSPodcast.ipa\n includeRootFolder: true\n displayName: Maui iOS Podcast IPA\n artifactName: MauiiOSPodcastIPANet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiTesting/MauiMacCatalystDefault.app\n includeRootFolder: true\n displayName: Maui MacCatalyst App\n artifactName: MauiMacCatalystDefaultNet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazorMacCatalystDefault.app\n includeRootFolder: true\n displayName: Maui Blazor MacCatalyst App\n artifactName: MauiBlazorMacCatalystDefaultNet6\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - script: rm -r -f ./bin\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n displayName: Clean MauiTesting bin directory\n condition: succeededOrFailed()\n\n - script: rm -r -f ./bin\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n displayName: Clean MauiBlazorTesting bin directory\n condition: succeededOrFailed()\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n nameSuffix: ${{ parameters.nameSuffix }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n rootFolder: ${{ parameters.rootFolder }}\n includeRootFolder: ${{ parameters.includeRootFolder }}\n displayName: ${{ parameters.displayName }}\n artifactName: ${{ parameters.artifactName }}\n archiveExtension: ${{ parameters.archiveExtension }}\n archiveType: ${{ parameters.archiveType }}\n tarCompression: ${{ parameters.tarCompression }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\build-perf-maui-apps-net6.yml | build-perf-maui-apps-net6.yml | YAML | 13,604 | 0.95 | 0.015974 | 0.063197 | vue-tools | 525 | 2023-11-12T15:12:51.285801 | Apache-2.0 | false | b4cfe26720bbddb0232f1e77942f9aba |
parameters:\n osGroup: ''\n osSubgroup: ''\n archType: ''\n buildConfig: ''\n runtimeFlavor: ''\n helixQueues: ''\n targetRid: ''\n nameSuffix: ''\n platform: ''\n shouldContinueOnError: ''\n rootFolder: ''\n includeRootFolder: ''\n displayName: ''\n artifactName: ''\n archiveExtension: ''\n archiveType: ''\n tarCompression: ''\n\n\nsteps:\n # Uncomment to reenable package replacement\n #- task: DownloadPipelineArtifact@2\n # displayName: Download runtime packages\n # inputs:\n # artifact: 'IntermediateArtifacts'\n # path: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks\n # patterns: |\n # IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.android-!(*.symbols).nupkg\n # IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.ios-!(*.symbols).nupkg\n # IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.iossimulator-!(*.symbols).nupkg\n # IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-!(*.symbols).nupkg\n\n # # Other artifacts to include once they are being built\n # # EX. IntermediateArtifacts/MonoRuntimePacks/Shipping/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-*.nupkg\n\n #- task: CopyFiles@2\n # displayName: Flatten packages\n # inputs:\n # sourceFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks\n # contents: '*/Shipping/*.nupkg'\n # cleanTargetFolder: false\n # targetFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks\n # flattenFolders: true\n\n #- script: |\n # for file in *.nupkg\n # do\n # mv -v "$file" "${file%.nupkg}.zip"\n # done\n # displayName: Change nupkgs to zips\n # workingDirectory: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks\n\n\n ##Unzip the nuget packages to make the actual runtimes accessible\n #- task: ExtractFiles@1\n # displayName: Extract android-arm runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract android-arm64 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm64.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-arm64\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract android-x86 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-x86.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-x86\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract android-x64 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-x64.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.android-x64\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract ios-arm64 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.ios-arm64.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.ios-arm64\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract maccatalyst-x64 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n #- task: ExtractFiles@1\n # displayName: Extract iossimulator-x64 runtime\n # inputs:\n # archiveFilePatterns: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.*.zip\n # destinationFolder: $(Build.SourcesDirectory)/MauiTesting/ArtifactPacks/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64\n # overwriteExistingFiles: true\n # cleanDestinationFolder: false\n\n # Get the current maui nuget config so all things can be found and darc based package sources are kept up to date.\n - script: |\n echo '{}' > ./global.json \n displayName: Create global.json\n workingDirectory: $(Build.SourcesDirectory)\n \n - script: |\n curl -o NuGet.config 'https://raw.githubusercontent.com/dotnet/maui/net7.0/NuGet.config'\n curl -o dotnet-install.sh 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh'\n curl -Lo maui-supported-sdk-version.json 'https://aka.ms/dotnet/sdk/maui/net7.0.json'\n version=$(sed -nr 's/\s*"version": "(.*)"/\1/p' ./maui-supported-sdk-version.json)\n chmod -R a+rx .\n ./dotnet-install.sh --version $version --install-dir .\n ./dotnet --info\n ./dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/net7.0.json --configfile NuGet.config\n displayName: Install MAUI workload\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: $(Build.SourcesDirectory)/eng/testing/performance/create-provisioning-profile.sh\n displayName: Create iOS code signing and provisioning profile\n\n - script: |\n ./dotnet new maui -n MauiTesting\n cd MauiTesting\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets ./Directory.Build.targets\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n displayName: Setup MAUI Project\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # Restore is split out because of https://github.com/dotnet/sdk/issues/21877, can be removed with --no-restore once fixed\n ../dotnet restore\n ../dotnet publish -bl:MauiAndroid.binlog -f net7.0-android -c Release -r android-arm64 --no-restore --self-contained\n mv ./bin/Release/net7.0-android/android-arm64/com.companyname.mauitesting-Signed.apk ./MauiAndroidDefault.apk\n displayName: Build MAUI Android\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n # This step pulls the product version from the used Microsoft.Maui.dll file properties and saves it for upload with the maui test counter.\n # We pull from this file as we did not find another place to reliably get the version information pre or post build.\n - powershell: |\n $RetrievedMauiVersion = Get-ChildItem .\obj\Release\net7.0-android\android-arm64\linked\Microsoft.Maui.dll | Select-Object -ExpandProperty VersionInfo | Select-Object ProductVersion | Select-Object -ExpandProperty ProductVersion\n $RetrievedMauiVersion\n Write-Host "##vso[task.setvariable variable=mauiVersion;isOutput=true]$RetrievedMauiVersion"\n name: getMauiVersion\n displayName: Get and Save MAUI Version\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n set -x\n pwd\n git clone https://github.com/microsoft/dotnet-podcasts.git -b net7.0 --single-branch\n cd dotnet-podcasts\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets ./Directory.Build.targets\n displayName: Clone podcast app\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # remove net7.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp MauiTesting.csproj MauiTesting.csproj.bak\n sed -i'' -e 's/net7.0-ios;net7.0-maccatalyst/net7.0-ios/g' MauiTesting.csproj\n\n ../dotnet publish -bl:MauiiOS.binlog -f net7.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.mauitesting\n mv ./bin/Release/net7.0-ios/ios-arm64/publish/MauiTesting.ipa ./MauiiOSDefault.ipa\n\n cp MauiTesting.csproj.bak MauiTesting.csproj\n displayName: Build MAUI Default iOS\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n chmod -R a+r .\n # remove net7.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp Microsoft.NetConf2021.Maui.csproj Microsoft.NetConf2021.Maui.csproj.bak\n sed -i'' -e 's/net7.0-ios;net7.0-maccatalyst/net7.0-ios/g' Microsoft.NetConf2021.Maui.csproj\n\n ../../../dotnet build ../Web/Components/Podcast.Components.Maui.csproj\n ../../../dotnet publish Microsoft.NetConf2021.Maui.csproj -bl:MauiiOSPodcast.binlog -f net7.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.netconf2021.maui\n mv ./bin/Release/net7.0-ios/ios-arm64/publish/Microsoft.NetConf2021.Maui.ipa ./MauiiOSPodcast.ipa\n\n cp Microsoft.NetConf2021.Maui.csproj.bak Microsoft.NetConf2021.Maui.csproj\n displayName: Build MAUI Podcast iOS\n workingDirectory: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile\n\n - script: |\n chmod -R a+r .\n ../dotnet publish -bl:MauiMacCatalyst.binlog -f net7.0-maccatalyst -c Release\n mv ./bin/Release/net7.0-maccatalyst/maccatalyst-x64/MauiTesting.app ./MauiMacCatalystDefault.app\n displayName: Build MAUI MacCatalyst\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n\n - script: |\n ./dotnet new maui-blazor -n MauiBlazorTesting\n cd MauiBlazorTesting\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props ./Directory.Build.props\n cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets ./Directory.Build.targets\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n echo -e "using Microsoft.AspNetCore.Components;\n #if ANDROID\n using Android.App;\n #endif\n\n namespace MauiBlazorTesting.Pages\n {\n public partial class Index\n {\n protected override void OnAfterRender(bool firstRender)\n {\n if (firstRender)\n {\n #if ANDROID\n var activity = MainActivity.Context as Activity;\n activity.ReportFullyDrawn();\n #else\n System.Console.WriteLine(\"__MAUI_Blazor_WebView_OnAfterRender__\");\n #endif\n }\n }\n }\n }" > Pages/Index.razor.cs\n\n sed -i'' -e "s/{/{\npublic static Android.Content.Context Context { get; private set; }\npublic MainActivity() { Context = this; }/g" Platforms/Android/MainActivity.cs\n displayName: Setup MAUI Blazor Hybrid Project\n workingDirectory: $(Build.SourcesDirectory)\n\n - script: |\n chmod -R a+r .\n # remove net7.0-maccatalyst to work around https://github.com/dotnet/sdk/issues/21877\n cp MauiBlazorTesting.csproj MauiBlazorTesting.csproj.bak\n sed -i'' -e 's/net7.0-ios;net7.0-maccatalyst/net7.0-ios/g' MauiBlazorTesting.csproj\n\n # NuGet.config file cannot be in the build directory currently due to https://github.com/dotnet/aspnetcore/issues/41397\n rm NuGet.config\n\n ../dotnet publish -bl:MauiBlazoriOS.binlog -f net7.0-ios --self-contained -r ios-arm64 -c Release /p:_RequireCodeSigning=false /p:ApplicationId=net.dot.mauiblazortesting\n mv ./bin/Release/net7.0-ios/ios-arm64/publish/MauiBlazorTesting.ipa ./MauiBlazoriOSDefault.ipa\n\n # Restore NuGet.config\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n cp MauiBlazorTesting.csproj.bak MauiBlazorTesting.csproj\n displayName: Build MAUI Blazor iOS\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n\n - script: |\n chmod -R a+r .\n\n # NuGet.config file cannot be in the build directory currently due to https://github.com/dotnet/aspnetcore/issues/41397\n rm NuGet.config\n\n ../dotnet publish -bl:MauiBlazorMacCatalyst.binlog -f net7.0-maccatalyst -c Release\n\n # Restore NuGet.config\n cp $(Build.SourcesDirectory)/NuGet.config ./NuGet.config\n\n mv ./bin/Release/net7.0-maccatalyst/maccatalyst-x64/MauiBlazorTesting.app ./MauiBlazorMacCatalystDefault.app\n displayName: Build MAUI Blazor MacCatalyst\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiAndroid binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiAndroid.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiiOS binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiiOS.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiMacCatalyst binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiTesting/MauiMacCatalyst.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiBlazoriOS binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazoriOS.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiBlazorMacCatalyst binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazorMacCatalyst.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - task: PublishBuildArtifacts@1\n displayName: 'Publish MauiiOSPodcast binlog'\n condition: always()\n inputs:\n pathtoPublish: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile/MauiiOSPodcast.binlog\n artifactName: ${{ parameters.artifactName }}\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiTesting/MauiiOSDefault.ipa\n includeRootFolder: true\n displayName: Maui iOS IPA\n artifactName: MauiiOSDefaultIPA\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazoriOSDefault.ipa\n includeRootFolder: true\n displayName: Maui Blazor iOS IPA\n artifactName: MauiBlazoriOSDefaultIPA\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/dotnet-podcasts/src/Mobile/MauiiOSPodcast.ipa\n includeRootFolder: true\n displayName: Maui iOS Podcast IPA\n artifactName: MauiiOSPodcastIPA\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiTesting/MauiMacCatalystDefault.app\n includeRootFolder: true\n displayName: Maui MacCatalyst App\n artifactName: MauiMacCatalystDefault\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/MauiBlazorTesting/MauiBlazorMacCatalystDefault.app\n includeRootFolder: true\n displayName: Maui Blazor MacCatalyst App\n artifactName: MauiBlazorMacCatalystDefault\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - script: rm -r -f ./bin\n workingDirectory: $(Build.SourcesDirectory)/MauiTesting\n displayName: Clean MauiTesting bin directory\n condition: succeededOrFailed()\n\n - script: rm -r -f ./bin\n workingDirectory: $(Build.SourcesDirectory)/MauiBlazorTesting\n displayName: Clean MauiBlazorTesting bin directory\n condition: succeededOrFailed()\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n osGroup: ${{ parameters.osGroup }}\n osSubgroup: ${{ parameters.osSubgroup }}\n archType: ${{ parameters.archType }}\n buildConfig: ${{ parameters.buildConfig }}\n runtimeFlavor: ${{ parameters.runtimeFlavor }}\n helixQueues: ${{ parameters.helixQueues }}\n targetRid: ${{ parameters.targetRid }}\n nameSuffix: ${{ parameters.nameSuffix }}\n platform: ${{ parameters.platform }}\n shouldContinueOnError: ${{ parameters.shouldContinueOnError }}\n rootFolder: ${{ parameters.rootFolder }}\n includeRootFolder: ${{ parameters.includeRootFolder }}\n displayName: ${{ parameters.displayName }}\n artifactName: ${{ parameters.artifactName }}\n archiveExtension: ${{ parameters.archiveExtension }}\n archiveType: ${{ parameters.archiveType }}\n tarCompression: ${{ parameters.tarCompression }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\build-perf-maui-apps-net7.yml | build-perf-maui-apps-net7.yml | YAML | 17,743 | 0.95 | 0.015464 | 0.277286 | python-kit | 115 | 2025-07-05T16:52:18.442241 | MIT | false | 127adb0e0f38bd71759f97b1c0e7849e |
parameters:\n mono: false\n coreclr: false\n monoAot: false\n\njobs:\n # build mono + monoAot\n - template: /eng/pipelines/performance/templates/perf-mono-build-jobs.yml\n parameters:\n mono_arm64: ${{ parameters.mono }}\n monoAot_arm64: ${{ parameters.monoAot }}\n\n - ${{ if eq(parameters.coreclr, true) }}:\n # build coreclr and libraries\n - template: /eng/pipelines/performance/templates/perf-coreclr-build-jobs.yml\n parameters:\n linux_arm64: true\n windows_arm64: true\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-arm64-build-jobs.yml | perf-arm64-build-jobs.yml | YAML | 504 | 0.8 | 0.055556 | 0.125 | awesome-app | 714 | 2024-02-28T03:48:45.784988 | BSD-3-Clause | false | 85c535c273310ec359f5cfa4530e3ef2 |
parameters:\n perfBranch: 'main' # Currently only used for building the BDN App\n mauiFramework: '' # Framework version to get versions for and build for (e.g. net9.0)\n\njobs:\n # build mono for AOT\n - template: /eng/pipelines/performance/templates/perf-mono-build-jobs.yml\n parameters:\n monoAndroidPacks: true\n\n # build PerfBDN app\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - ios_arm64\n jobParameters:\n dependsOn:\n - build_android_arm64_release_Mono_Packs\n buildArgs: -s mono -c $(_BuildConfig)\n nameSuffix: PerfBDNApp\n isOfficialBuild: false\n pool:\n vmImage: 'macos-13'\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/build-perf-bdn-app.yml\n parameters:\n rootFolder: '$(Build.SourcesDirectory)/artifacts/'\n includeRootFolder: true\n displayName: Android BDN App Artifacts\n artifactName: PerfBDNAppArm\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n perfBranch: ${{ parameters.perfBranch }}\n ${{ if parameters.mauiFramework }}:\n framework: ${{ parameters.mauiFramework }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-bdn-build-jobs.yml | perf-bdn-build-jobs.yml | YAML | 1,403 | 0.8 | 0.128205 | 0.054054 | node-utils | 684 | 2023-09-05T18:58:00.042239 | Apache-2.0 | false | d4c366f03636682a2e6e0c44482231ee |
parameters:\n perfBranch: 'main' # Currently only used for building the BDN App\n\njobs:\n # build coreclr and libraries\n - template: /eng/pipelines/performance/templates/perf-coreclr-build-jobs.yml\n parameters:\n linux_x64: true\n windows_x64: true\n windows_x86: true\n linux_musl_x64: true\n android_arm64: true\n\n # build mono for AOT\n - template: /eng/pipelines/performance/templates/perf-mono-build-jobs.yml\n parameters:\n mono_x64: true\n monoAot_x64: true\n monoAndroid: true\n\n # Disabled due to not successfully building at the moment. https://github.com/dotnet/performance/issues/4729\n - ${{ if false }}:\n # build PerfBDN app\n - template: /eng/pipelines/performance/templates/perf-bdn-build-jobs.yml\n parameters:\n perfBranch: ${{ parameters.perfBranch }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-build-jobs.yml | perf-build-jobs.yml | YAML | 823 | 0.8 | 0.115385 | 0.173913 | react-lib | 382 | 2024-07-21T05:06:49.577183 | Apache-2.0 | false | c62733bb1a4fc52d241d9c1e5dde311e |
parameters:\n linux_x64: false\n linux_musl_x64: false\n linux_arm64: false\n windows_x64: false\n windows_x86: false\n windows_arm64: false\n android_arm64: false\n\njobs:\n - ${{ if or(eq(parameters.linux_x64, true), eq(parameters.windows_x64, true), eq(parameters.windows_x86, true), eq(parameters.linux_musl_x64, true), eq(parameters.linux_arm64, true), eq(parameters.windows_arm64, true)) }}:\n # build coreclr and libraries\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n platforms:\n - ${{ if eq(parameters.linux_x64, true) }}:\n - linux_x64\n - ${{ if eq(parameters.windows_x64, true) }}:\n - windows_x64\n - ${{ if eq(parameters.windows_x86, true) }}:\n - windows_x86\n - ${{ if eq(parameters.linux_musl_x64, true) }}:\n - linux_musl_x64\n - ${{ if eq(parameters.linux_arm64, true) }}:\n - linux_arm64\n - ${{ if eq(parameters.windows_arm64, true) }}:\n - windows_arm64\n jobParameters:\n nameSuffix: coreclr\n buildArgs: -s clr+libs+host+packs -c $(_BuildConfig)\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)_coreclr\n displayName: Build Assets\n\n - ${{ if eq(parameters.android_arm64, true) }}:\n # build CoreCLR Android scenarios\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: coreclr\n platforms:\n - android_arm64\n jobParameters:\n buildArgs: -s clr.runtime+clr.alljits+clr.corelib+clr.nativecorelib+clr.tools+clr.packages+libs -c $(_BuildConfig)\n nameSuffix: AndroidCoreCLR\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/build-perf-sample-apps.yml\n parameters:\n runtimeType: coreclr\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-coreclr-build-jobs.yml | perf-coreclr-build-jobs.yml | YAML | 2,491 | 0.8 | 0.131148 | 0.033898 | react-lib | 353 | 2024-07-20T13:44:16.273766 | Apache-2.0 | false | 1b293397241f4f89da85af1752c10f47 |
parameters:\n hybridGlobalization: true\n mono: false\n nativeAot: false\n\njobs:\n - ${{ if eq(parameters.mono, true) }}:\n # build mono iOS scenarios HybridGlobalization\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - ios_arm64\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)\n nameSuffix: iOSMono\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/build-perf-sample-apps.yml\n parameters:\n hybridGlobalization: ${{ parameters.hybridGlobalization }}\n\n - ${{ if eq(parameters.nativeAot, true) }}:\n # build NativeAOT iOS scenarios HybridGlobalization\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: coreclr\n platforms:\n - ios_arm64\n jobParameters:\n buildArgs: --cross -s clr.alljits+clr.tools+clr.nativeaotruntime+clr.nativeaotlibs+libs -c $(_BuildConfig)\n nameSuffix: iOSNativeAOT\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/build-perf-sample-apps.yml\n parameters:\n hybridGlobalization: ${{ parameters.hybridGlobalization }}\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-ios-scenarios-build-jobs.yml | perf-ios-scenarios-build-jobs.yml | YAML | 1,538 | 0.8 | 0.04878 | 0.051282 | vue-tools | 446 | 2024-05-26T06:08:20.231831 | GPL-3.0 | false | 52049da11f0a7a73de551344b14490dd |
parameters:\n mono_x64: false\n monoAot_x64: false\n mono_arm64: false\n monoAot_arm64: false\n monoAndroid: false\n monoAndroidPacks: false\n\njobs:\n - ${{ if eq(parameters.monoAot_x64, true) }}:\n # build mono for AOT\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - linux_x64\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:MonoAOTEnableLLVM=true /p:MonoEnableLLVM=true /p:BuildMonoAOTCrossCompiler=true /p:AotHostArchitecture=x64 /p:AotHostOS=linux\n nameSuffix: AOT\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: '$(Build.SourcesDirectory)/artifacts/'\n includeRootFolder: true\n displayName: AOT Mono Artifacts\n artifactName: LinuxMonoAOTx64\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - ${{ if eq(parameters.mono_x64, true) }}:\n # build mono\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - linux_x64\n jobParameters:\n nameSuffix: mono\n buildArgs: -s mono+clr.iltools+clr.hosts+libs+host+packs -c $(_BuildConfig)\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)_mono\n displayName: Build Assets\n\n - ${{ if eq(parameters.mono_arm64, true) }}:\n # build mono_arm64\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - linux_arm64\n jobParameters:\n nameSuffix: mono\n buildArgs: -s mono+clr.iltools+clr.hosts+libs+host+packs -c $(_BuildConfig)\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: $(Build.SourcesDirectory)/artifacts/bin\n includeRootFolder: false\n archiveType: $(archiveType)\n archiveExtension: $(archiveExtension)\n tarCompression: $(tarCompression)\n artifactName: BuildArtifacts_$(osGroup)$(osSubgroup)_$(archType)_$(_BuildConfig)_mono\n displayName: Build Assets\n\n - ${{ if eq(parameters.monoAot_arm64, true) }}:\n # build monoAot_arm64\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n runtimeVariant: 'llvmaot'\n platforms:\n - linux_arm64\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:MonoAOTEnableLLVM=true /p:MonoEnableLLVM=true /p:BuildMonoAOTCrossCompiler=true /p:AotHostArchitecture=arm64 /p:AotHostOS=linux\n nameSuffix: AOT\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: '$(Build.SourcesDirectory)/artifacts/'\n includeRootFolder: true\n displayName: AOT Mono Artifacts\n artifactName: LinuxMonoAOTarm64\n archiveExtension: '.tar.gz'\n archiveType: tar\n tarCompression: gz\n\n - ${{ if eq(parameters.monoAndroid, true) }}:\n # build mono Android scenarios\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - android_arm64\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)\n nameSuffix: AndroidMono\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/build-perf-sample-apps.yml\n parameters:\n runtimeType: mono\n\n - ${{ if eq(parameters.monoAndroidPacks, true) }}:\n # build mono runtime packs\n - template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: release\n runtimeFlavor: mono\n platforms:\n - android_arm64\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig)\n nameSuffix: Mono_Packs\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/common/upload-intermediate-artifacts-step.yml\n parameters:\n name: MonoRuntimePacks\n isOfficialBuild: false\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-mono-build-jobs.yml | perf-mono-build-jobs.yml | YAML | 5,551 | 0.8 | 0.049296 | 0.044118 | awesome-app | 614 | 2024-03-31T05:01:15.213323 | BSD-3-Clause | false | 594d23e9f911423a33fc6a8ede62ef4c |
jobs:\n- template: /eng/pipelines/common/platform-matrix.yml\n parameters:\n jobTemplate: /eng/pipelines/common/global-build-job.yml\n buildConfig: Release\n runtimeFlavor: mono\n platforms:\n - browser_wasm\n jobParameters:\n buildArgs: -s mono+libs+host+packs -c $(_BuildConfig) /p:AotHostArchitecture=x64 /p:AotHostOS=$(_hostedOS)\n nameSuffix: wasm\n isOfficialBuild: false\n postBuildSteps:\n - template: /eng/pipelines/performance/templates/perf-wasm-prepare-artifacts-steps.yml\n parameters:\n configForBuild: Release | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-wasm-build-jobs.yml | perf-wasm-build-jobs.yml | YAML | 575 | 0.7 | 0 | 0 | vue-tools | 614 | 2024-09-22T16:40:46.689458 | MIT | false | e904c09f4278049af1d343b8e332dd09 |
parameters:\n configForBuild: 'Release'\n\nsteps:\n - script: >-\n ./dotnet.sh build -p:TargetOS=browser -p:TargetArchitecture=wasm /nr:false /p:TreatWarningsAsErrors=true\n /p:Configuration=${{ parameters.configForBuild }}\n /p:ContinuousIntegrationBuild=true\n /t:InstallWorkloadUsingArtifacts\n /bl:$(Build.SourcesDirectory)/artifacts/log/${{ parameters.configForBuild }}/InstallWorkloadUsingArtifacts.binlog\n $(Build.SourcesDirectory)/src/mono/wasm/Wasm.Build.Tests/Wasm.Build.Tests.csproj\n displayName: "Install workload using artifacts"\n\n - script: >-\n mkdir -p $(Build.SourcesDirectory)/artifacts/staging/built-nugets &&\n cp -r $(Build.SourcesDirectory)/artifacts/bin/dotnet-latest $(Build.SourcesDirectory)/artifacts/staging &&\n cp -r $(Build.SourcesDirectory)/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm $(Build.SourcesDirectory)/artifacts/staging &&\n cp -r $(Build.SourcesDirectory)/artifacts/bin/microsoft.netcore.app.ref $(Build.SourcesDirectory)/artifacts/staging &&\n cp -r $(Build.SourcesDirectory)/artifacts/packages/${{ parameters.configForBuild }}/Shipping/Microsoft.NET.Sdk.WebAssembly.Pack* $(Build.SourcesDirectory)/artifacts/staging/built-nugets &&\n cp -r $(Build.SourcesDirectory)/artifacts/packages/${{ parameters.configForBuild }}/Shipping/Microsoft.NETCore.App.Ref* $(Build.SourcesDirectory)/artifacts/staging/built-nugets\n displayName: "Prepare artifacts staging directory"\n\n - template: /eng/pipelines/common/upload-artifact-step.yml\n parameters:\n rootFolder: '$(Build.SourcesDirectory)/artifacts/staging'\n includeRootFolder: true\n displayName: Browser Wasm Artifacts\n artifactName: BrowserWasm\n archiveType: tar\n tarCompression: gz\n archiveExtension: '.tar.gz'\n | dataset_sample\yaml\dotnet_runtime\eng\pipelines\performance\templates\perf-wasm-prepare-artifacts-steps.yml | perf-wasm-prepare-artifacts-steps.yml | YAML | 1,801 | 0.7 | 0 | 0 | react-lib | 953 | 2023-12-01T04:30:31.273962 | Apache-2.0 | false | c02caf0418c55643361dd19ca3e6eeb9 |
version: "3.7"\n\nservices:\n kdc:\n build:\n context: ./\n dockerfile: ./kdc/Dockerfile\n image: kdc:latest\n container_name: kdc\n hostname: kdc\n domainname: linux.contoso.com\n dns_search: linux.contoso.com\n volumes:\n - shared-volume:/SHARED\n networks:\n - network1\n\n apacheweb:\n build:\n context: ./\n dockerfile: ./apacheweb/Dockerfile\n image: apacheweb:latest\n container_name: apacheweb\n hostname: apacheweb\n domainname: linux.contoso.com\n dns_search: linux.contoso.com\n privileged: true\n command: "-DNTLM"\n volumes:\n - shared-volume:/SHARED\n networks:\n network1:\n aliases:\n - apache.linux.contoso.com\n depends_on:\n - kdc\n\n altweb:\n image: apacheweb:latest\n container_name: altweb\n hostname: altweb\n domainname: linux.contoso.com\n dns_search: linux.contoso.com\n command: "-DALTPORT -DALTSPN"\n volumes:\n - shared-volume:/SHARED\n networks:\n network1:\n aliases:\n - altweb.linux.contoso.com\n depends_on:\n - kdc\n\n linuxclient:\n build:\n context: ./\n dockerfile: ./linuxclient/Dockerfile\n image: linuxclient:latest\n container_name: linuxclient\n hostname: linuxclient\n domainname: linux.contoso.com\n dns_search: linux.contoso.com\n privileged: true\n dns:\n - 8.8.8.8\n volumes:\n - shared-volume:/SHARED\n - ${DOTNET_RUNTIME_REPO_ROOT}:/repo\n networks:\n - network1\n depends_on:\n - apacheweb\n - altweb\n - kdc\n\nnetworks:\n network1:\n name: linux.contoso.com\n\nvolumes:\n shared-volume:\n | dataset_sample\yaml\dotnet_runtime\src\libraries\Common\tests\System\Net\EnterpriseTests\setup\docker-compose.yml | docker-compose.yml | YAML | 1,624 | 0.7 | 0 | 0 | react-lib | 522 | 2025-03-21T18:06:32.312006 | Apache-2.0 | true | f31f6bac8e996f3f24569464e93693d9 |
version: '3' # Although the version attribute is obsolete and should be ignored, it's seemingly not the case on Build.Ubuntu.2204.Amd64.Open\nservices:\n client:\n build:\n context: .\n dockerfile: ${DOCKERFILE:-Dockerfile}\n image: httpstress\n volumes:\n - "${DUMPS_SHARE}:${DUMPS_SHARE_MOUNT_ROOT}"\n links:\n - server\n environment:\n - STRESS_ARGS=-runMode client -serverUri https://server:5001 ${STRESS_CLIENT_ARGS}\n - STRESS_ROLE=client\n - DUMPS_SHARE_MOUNT_ROOT=${DUMPS_SHARE_MOUNT_ROOT}\n server:\n build:\n context: .\n dockerfile: ${DOCKERFILE:-Dockerfile}\n image: httpstress\n volumes:\n - "${DUMPS_SHARE}:${DUMPS_SHARE_MOUNT_ROOT}"\n ports:\n - "5001:5001"\n environment:\n - STRESS_ARGS=-runMode server -serverUri https://+:5001 ${STRESS_SERVER_ARGS}\n - STRESS_ROLE=server\n - DUMPS_SHARE_MOUNT_ROOT=${DUMPS_SHARE_MOUNT_ROOT}\n | dataset_sample\yaml\dotnet_runtime\src\libraries\System.Net.Http\tests\StressTests\HttpStress\docker-compose.yml | docker-compose.yml | YAML | 919 | 0.8 | 0 | 0 | vue-tools | 946 | 2024-08-04T20:13:47.010974 | Apache-2.0 | true | 3e77d16982d9c53eb7899c5cc0761d4b |
version: '3' # Although the version attribute is obsolete and should be ignored, it's seemingly not the case on Build.Ubuntu.2204.Amd64.Open\nservices:\n client:\n build:\n context: ../../../../ # ~> src/libraries\n dockerfile: ./System.Net.Security/tests/StressTests/SslStress/${DOCKERFILE:-Dockerfile}\n volumes:\n - "${DUMPS_SHARE}:${DUMPS_SHARE_MOUNT_ROOT}"\n links:\n - server\n environment:\n - STRESS_ARGS=--mode client --server-endpoint server:5001 ${STRESS_CLIENT_ARGS}\n server:\n build:\n context: ../../../../ # ~> src/libraries\n dockerfile: ./System.Net.Security/tests/StressTests/SslStress/${DOCKERFILE:-Dockerfile}\n volumes:\n - "${DUMPS_SHARE}:${DUMPS_SHARE_MOUNT_ROOT}"\n ports:\n - "5001:5001"\n environment:\n - STRESS_ARGS=--mode server --server-endpoint 0.0.0.0:5001 ${STRESS_SERVER_ARGS}\n | dataset_sample\yaml\dotnet_runtime\src\libraries\System.Net.Security\tests\StressTests\SslStress\docker-compose.yml | docker-compose.yml | YAML | 867 | 0.8 | 0 | 0 | awesome-app | 828 | 2025-04-05T15:49:02.872821 | Apache-2.0 | true | 88329f6467f24a8ac1b20b13bc12192f |
name: CI - Unix\n\npermissions:\n contents: read\n\non:\n pull_request:\n paths:\n - '**'\n - '!README'\n - '!INSTALL'\n - '!NEWS'\n - '!doc/**'\n - '!.**'\n - '.github/workflows/CI-unix.yml'\n push:\n branches:\n - v[0-9].*\n - master\n\njobs:\n build-native:\n runs-on: ubuntu-22.04\n name: build-${{ matrix.toolchain.compiler }}-${{ matrix.target.arch }}${{ matrix.optimization.CFLAGS }}\n\n strategy:\n fail-fast: false\n matrix:\n target:\n - { arch: i686, triple: i686-pc-linux-gnu, CFLAGS: -m32 }\n - { arch: x86_64, triple: x86_64-pc-linux-gnu, CFLAGS: }\n toolchain:\n - { compiler: gcc, CC: gcc-12, CXX: g++-12 }\n - { compiler: clang, CC: clang-13, CXX: clang++-13 }\n optimization:\n - { CFLAGS: -O0 }\n - { CFLAGS: -O3 }\n steps:\n - uses: actions/checkout@v3\n\n - name: Setup\n if: ${{ matrix.target.arch }} = 'i686'\n run: |\n sudo apt update\n sudo apt install -y g++-12-multilib\n\n - name: Configure\n run: |\n set -x\n autoreconf -i\n ./configure --build=x86_64-pc-linux-gnu --host=${{ matrix.target.triple }}\n env:\n CC: ${{ matrix.toolchain.CC }}\n CXX: ${{ matrix.toolchain.CXX }}\n CFLAGS: "${{ matrix.target.CFLAGS }} ${{ matrix.optimization.CFLAGS }} -Wall -Wextra"\n CXXFLAGS: "${{ matrix.target.CFLAGS }} ${{ matrix.optimization.CFLAGS }} -Wall -Wextra"\n LDFLAGS: ${{ matrix.target.CFLAGS }}\n\n - name: Build\n run: |\n make -j8\n\n - name: Test (native)\n if: ${{ success() }}\n run: |\n set -x\n sudo bash -c 'echo core.%p.%p > /proc/sys/kernel/core_pattern'\n ulimit -c unlimited\n make check -j8\n\n - name: Show Logs\n if: ${{ failure() }}\n run: |\n cat tests/test-suite.log 2>/dev/null\n\n build-cross:\n runs-on: ubuntu-22.04\n name: build-cross-${{ matrix.config.target }}\n\n strategy:\n fail-fast: false\n matrix:\n config:\n - {target: arm, host: arm-linux-gnueabi, qemu: arm, gccver: 12 }\n - {target: armhf, host: arm-linux-gnueabihf, qemu: arm, gccver: 12 }\n - {target: aarch64, host: aarch64-linux-gnu, qemu: aarch64, gccver: 12 }\n - {target: riscv64, host: riscv64-linux-gnu, qemu: riscv64, gccver: 12 }\n - {target: ppc, host: powerpc-linux-gnu, qemu: ppc, gccver: 12 }\n - {target: ppc64, host: powerpc64-linux-gnu, qemu: ppc64, gccver: 12 }\n - {target: ppc64le, host: powerpc64le-linux-gnu, qemu: ppc64le, gccver: 12 }\n - {target: s390x, host: s390x-linux-gnu, qemu: s390x, gccver: 12 }\n - {target: mips, host: mips-linux-gnu, qemu: mips, gccver: 10 }\n - {target: mips64, host: mips64-linux-gnuabi64, qemu: mips64, gccver: 10 }\n - {target: mipsel, host: mipsel-linux-gnu, qemu: mipsel, gccver: 10 }\n - {target: mips64el, host: mips64el-linux-gnuabi64, qemu: mips64el, gccver: 10 }\n\n steps:\n - uses: actions/checkout@v3\n - name: Install QEMU\n # this ensure install latest qemu on ubuntu, apt get version is old\n env:\n QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu"\n QEMU_VER: "qemu-user-static_7\\.2.*_amd64.deb$"\n run: |\n DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`\n wget $QEMU_SRC/$DEB\n sudo dpkg -i $DEB\n\n - name: Install ${{ matrix.config.host }} Toolchain\n run: |\n sudo apt update\n sudo apt install g++-${{ matrix.config.gccver }}-${{ matrix.config.host }} -y\n\n - name: Configure with ${{ matrix.config.cc }}\n run: |\n set -x\n autoreconf -i\n BUILD=x86_64-linux-gnu\n ./configure --build=$BUILD --host=${{ matrix.config.host }} --with-testdriver=$(pwd)/scripts/qemu-test-driver --enable-debug\n env:\n CC: ${{ matrix.config.host }}-gcc-${{ matrix.config.gccver }}\n CXX: ${{ matrix.config.host }}-g++-${{ matrix.config.gccver }}\n\n - name: Build\n run: |\n make -j8\n env:\n CFLAGS: "-Wall -Wextra"\n\n - name: ABI Check\n run: |\n cd tests && ./run-check-namespace\n\n - name: Test\n run: |\n set -x\n sudo bash -c 'echo core.%p.%p > /proc/sys/kernel/core_pattern'\n ulimit -c unlimited\n CROSS_LIB="/usr/${{ matrix.config.host }}"\n make -j8 check LOG_DRIVER_FLAGS="--qemu-arch ${{ matrix.config.qemu }}" LDFLAGS="-L$CROSS_LIB/lib -static" QEMU_LD_PREFIX="$CROSS_LIB"\n env:\n UNW_DEBUG_LEVEL: 4\n\n - name: Show Logs\n if: ${{ failure() }}\n run: |\n cat tests/test-suite.log 2>/dev/null\n | dataset_sample\yaml\dotnet_runtime\src\native\external\libunwind\.github\workflows\CI-unix.yml | CI-unix.yml | YAML | 5,010 | 0.8 | 0.027211 | 0.007752 | node-utils | 132 | 2024-02-21T15:55:16.502947 | MIT | false | 3218ab411ae8931f6fa51f7353b2b29c |
name: CI - Windows\n\npermissions:\n contents: read\n\non:\n pull_request:\n paths:\n - '**'\n - '!README'\n - '!INSTALL'\n - '!NEWS'\n - '!doc/**'\n - '!.**'\n - '.github/workflows/CI-win.yml'\n push:\n branches:\n - v[0-9].*\n - master\n\njobs:\n build-windows:\n runs-on: windows-${{ matrix.config.server }}\n name: build ${{ matrix.config.TARGET }}\n strategy:\n fail-fast: false\n matrix:\n config:\n - {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022, TARGET: arm-linux-gnueabihf}\n - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022, TARGET: aarch64-linux-gnu}\n - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022, TARGET: x86_64-linux-gnu}\n steps:\n - uses: actions/checkout@v3\n - name: Build\n shell: cmd\n env:\n TARGET: ${{ matrix.config.TARGET }}\n run: |\n cmake -G "${{ matrix.config.toolchain }}" -A ${{ matrix.config.arch }} -S . -B bin/windows-${{ matrix.config.arch }}/${{ matrix.config.TARGET }}\n cmake --build bin/windows-${{ matrix.config.arch }}/${{ matrix.config.TARGET }}\n | dataset_sample\yaml\dotnet_runtime\src\native\external\libunwind\.github\workflows\CI-win.yml | CI-win.yml | YAML | 1,161 | 0.8 | 0 | 0 | react-lib | 18 | 2024-10-19T06:10:55.333053 | GPL-3.0 | false | 8b92b5801189cb86b5a03816f8507db5 |
name: "CodeQL"\n\non:\n push:\n branches: [ "master" ]\n pull_request:\n # The branches below must be a subset of the branches above\n branches: [ "master" ]\n schedule:\n # Runs automatically on the twelfth of every month at 16:26\n - cron: '26 16 12 * *'\n\njobs:\n analyze:\n name: Analyze\n runs-on: ubuntu-latest\n permissions:\n actions: read\n contents: read\n security-events: write\n\n strategy:\n fail-fast: false\n matrix:\n language: [ 'cpp' ]\n\n steps:\n - name: Checkout repository\n uses: actions/checkout@v3\n\n - name: Initialize CodeQL\n uses: github/codeql-action/init@v2\n with:\n languages: ${{ matrix.language }}\n queries: security-extended,security-and-quality\n\n - name: Autobuild\n uses: github/codeql-action/autobuild@v2\n\n - name: Perform CodeQL Analysis\n uses: github/codeql-action/analyze@v2\n | dataset_sample\yaml\dotnet_runtime\src\native\external\libunwind\.github\workflows\codeql-analysis.yml | codeql-analysis.yml | YAML | 905 | 0.8 | 0 | 0.058824 | awesome-app | 428 | 2024-09-08T16:15:52.037385 | GPL-3.0 | false | 346cf273a3ffb21d52b8362124297ca8 |
# Automate stale iossue tagging and closing\nname: Close inactive issues\non:\n schedule:\n - cron: "30 1 * * *"\n\njobs:\n close-issues:\n runs-on: ubuntu-latest\n permissions:\n issues: write\n pull-requests: write\n steps:\n - uses: actions/stale@v5\n with:\n stale-issue-label: "needs info"\n days-before-issue-stale: -1\n days-before-issue-close: 60\n close-issue-message: >\n Without additional information we're not able to resolve this issue.\n Feel free to add more info or respond to any questions above and we\n can reopen the case. Thanks for your contribution!\n days-before-pr-stale: -1\n days-before-pr-close: -1\n repo-token: ${{ secrets.GITHUB_TOKEN }}\n | dataset_sample\yaml\dotnet_runtime\src\native\external\libunwind\.github\workflows\groom-issues.yml | groom-issues.yml | YAML | 778 | 0.8 | 0.04 | 0.041667 | vue-tools | 336 | 2024-06-26T12:37:15.188174 | Apache-2.0 | false | 95ac3b28049650bef6967bd9d59f990e |
# This is a simple wrapper for eng/pipeline.yml to get around the limitation of\n# user-defined variables not being available in yaml template expressions.\n\n# Parameters ARE available in template expressions, and parameters can have default values,\n# so they can be used to control yaml flow.\n#\n\nvariables:\n # clean the local repo on the build agents\n - name: Build.Repository.Clean\n value: true\n - name: _DotNetArtifactsCategory\n value: WINDOWSDESKTOP\n - name: _DotNetValidationArtifactsCategory\n value: WINDOWSDESKTOP\n - ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:\n - name: PostBuildSign\n value: false\n - ${{ else }}:\n - name: PostBuildSign\n value: true\n \n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: DotNet-Wpf-SDLValidation-Params\n\n\n# This is set in the pipeline directly \n# When set to false, CI tests will not be enabled in builds. \n#\n# _ContinuousIntegrationTestsEnabled: false\n\n# Setting batch to true, triggers one build at a time.\n# if there is a push while a build in progress, it will wait,\n# until the running build finishes, and produce a build with all the changes\n#\n# only trigger ci builds for the master and release branches\ntrigger:\n batch: true \n branches:\n include: \n - main\n - release/*\n - internal/release/*\n - experimental/*\n paths:\n exclude:\n - Documentation/*\n\npr:\n autoCancel: true\n branches:\n include:\n - main\n - release/* \n - experimental/*\n - feature/win11theming/staging\n - feature/win11theming/release\n paths:\n exclude:\n - Documentation/*\n\n# Call the pipeline-pr.yml template, which does the real work\nstages:\n- stage: build\n displayName: Build \n jobs:\n - template: /eng/pipeline-pr.yml\n parameters:\n ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n runAsPublic: false\n\n- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: eng\common\templates\post-build\post-build.yml\n parameters:\n publishingInfraVersion: 3\n enableSymbolValidation: false\n enableSigningValidation: false\n enableNugetValidation: false\n enableSourceLinkValidation: false\n # This is to enable SDL runs part of Post-Build Validation Stage\n SDLValidationParameters:\n enable: false\n params: ' -SourceToolsList @("policheck","credscan")\n -TsaInstanceURL $(_TsaInstanceURL)\n -TsaProjectName $(_TsaProjectName)\n -TsaNotificationEmail $(_TsaNotificationEmail)\n -TsaCodebaseAdmin $(_TsaCodebaseAdmin)\n -TsaBugAreaPath $(_TsaBugAreaPath)\n -TsaIterationPath $(_TsaIterationPath)\n -TsaRepositoryName "wpf"\n -TsaCodebaseName "wpf"\n -TsaPublish $True'\n | dataset_sample\yaml\dotnet_wpf\azure-pipelines-pr.yml | azure-pipelines-pr.yml | YAML | 3,030 | 0.8 | 0.086957 | 0.204819 | node-utils | 133 | 2024-11-04T08:25:22.143490 | Apache-2.0 | false | 1b09c7a77d71469903d7c9b97f65b8df |
# This is a simple wrapper for eng/pipeline.yml to get around the limitation of\n# user-defined variables not being available in yaml template expressions.\n\n# Parameters ARE available in template expressions, and parameters can have default values\nvariables:\n# clean the local repo on the build agents\n- name: Build.Repository.Clean\n value: true\n- name: _DotNetArtifactsCategory\n value: WINDOWSDESKTOP\n- name: _DotNetValidationArtifactsCategory\n value: WINDOWSDESKTOP\n- ${{ if or(startswith(variables['Build.SourceBranch'], 'refs/heads/release/'), startswith(variables['Build.SourceBranch'], 'refs/heads/internal/release/'), eq(variables['Build.Reason'], 'Manual')) }}:\n - name: PostBuildSign\n value: false\n- ${{ else }}:\n - name: PostBuildSign\n value: true\n- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: DotNet-Wpf-SDLValidation-Params\ntrigger:\n batch: true\n branches:\n include:\n - main\n - release/*\n - internal/release/*\n - experimental/*\n paths:\n exclude:\n - Documentation/*\nresources:\n repositories:\n - repository: 1ESPipelineTemplates\n type: git\n name: 1ESPipelineTemplates/1ESPipelineTemplates\n ref: refs/tags/release\nextends:\n template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates\n parameters:\n sdl:\n policheck:\n enabled: true\n tsa:\n enabled: true\n configFile: '$(Build.SourcesDirectory)/eng/tsaoptions.json'\n featureFlags:\n autoBaseline: true\n pool:\n name: NetCore1ESPool-Internal\n image: 1es-windows-2022\n os: windows\n customBuildTags:\n - ES365AIMigrationTooling\n stages:\n - stage: build\n displayName: Build\n jobs:\n - template: /eng/pipeline.yml@self\n parameters:\n ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n runAsPublic: false\n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/templates-official/post-build/post-build.yml@self\n parameters:\n publishingInfraVersion: 3\n enableSymbolValidation: false\n enableSigningValidation: false\n enableNugetValidation: false\n enableSourceLinkValidation: false | dataset_sample\yaml\dotnet_wpf\azure-pipelines.yml | azure-pipelines.yml | YAML | 2,373 | 0.8 | 0.072464 | 0.057971 | awesome-app | 328 | 2023-08-25T00:08:18.860188 | BSD-3-Clause | false | 02dcae5d8fa7bbc796146746dd198c31 |
# This is a simple wrapper for eng/pipeline.yml to get around the limitation of\n# user-defined variables not being available in yaml template expressions.\n\n# Parameters ARE available in template expressions, and parameters can have default values,\n# so they can be used to control yaml flow.\n#\n\nvariables:\n # clean the local repo on the build agents\n - name: Build.Repository.Clean\n value: true\n - name: _PublishUsingPipelines\n value: true\n - name: _DotNetArtifactsCategory\n value: WINDOWSDESKTOP\n - name: _DotNetValidationArtifactsCategory\n value: WINDOWSDESKTOP\n - name: PostBuildSign\n value: true\n \n - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: DotNet-Wpf-SDLValidation-Params\n\n\n# This is set in the pipeline directly \n# When set to false, CI tests will not be enabled in builds. \n#\n# _ContinuousIntegrationTestsEnabled: false\n\n# Setting batch to true, triggers one build at a time.\n# if there is a push while a build in progress, it will wait,\n# until the running build finishes, and produce a build with all the changes\n#\n# only trigger ci builds for the master and release branches\ntrigger:\n batch: true \n branches:\n include: \n - ctp\n - feature/*\n paths:\n exclude:\n - Documentation/*\n\npr:\n autoCancel: true\n branches:\n include:\n - ctp\n paths:\n exclude:\n - Documentation/*\n\n# Call the pipeline.yml template, which does the real work\nstages:\n- stage: build\n displayName: Build \n jobs:\n - template: /eng/wpfautomatedtests.yml\n parameters:\n enablePublishUsingPipelines: $(_PublishUsingPipelines)\n ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n # agent pool can't be read from a user-defined variable (Azure DevOps limitation)\n pool:\n name: NetCore1ESPool-Internal\n demands: ImageOverride -equals windows.vs2022preview.amd64\n # runAsPublic is used in expressions, which can't read from user-defined variables\n runAsPublic: false\n | dataset_sample\yaml\dotnet_wpf\azure-pipelines1.yml | azure-pipelines1.yml | YAML | 2,096 | 0.8 | 0.088235 | 0.3 | python-kit | 19 | 2024-04-11T00:56:44.424605 | BSD-3-Clause | false | 7becc5d65142217be5d24ccc36a4882e |
# https://docs.codecov.io/docs/codecov-yaml\n# https://github.com/codecov/support/wiki/Codecov-Yaml\n\ncoverage:\n range: 20..80 # 20 is red, 80 is green\n round: down # always round down\n precision: 5 # highest level of decimal precision\n status:\n project:\n default: false\n patch:\n default: false\n fixes:\n - "eng/::/"\n\ncomment:\n layout: "diff, flags" # coverage difference, flags below\n\nflags: # which files to include in the reporting\n production:\n paths:\n - src/Microsoft.DotNet.Wpf/src\n test:\n paths:\n - src/Microsoft.DotNet.Wpf/tests/ | dataset_sample\yaml\dotnet_wpf\codecov.yml | codecov.yml | YAML | 671 | 0.8 | 0 | 0.090909 | python-kit | 9 | 2024-06-16T15:36:49.570935 | Apache-2.0 | false | 82efc4940b625f720509023444534cfb |
name: Bug Report\ndescription: Create a report to help us improve\nlabels: []\nbody:\n - type: markdown\n attributes:\n value: |\n We welcome bug reports! This template will help us gather the information we need to start the triage process.\n Note - If the bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...), please file the issue via the instructions [here](https://docs.microsoft.com/visualstudio/ide/how-to-report-a-problem-with-visual-studio?view=vs-2019).\n\n - type: textarea\n id: background\n attributes:\n label: Description\n description: Please share a clear and concise description of the problem.\n placeholder: Description\n validations:\n required: true\n - type: textarea\n id: repro-steps\n attributes:\n label: Reproduction Steps\n description: |\n Please include minimal steps to reproduce the problem if possible. Attach or link a project if you have one, even if it is very simple. It helps to quickly evaluate and diagnose the issue and ensures any fix addresses your scenario. If you cannot attach a project, include the smallest possible code snippet, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches).\n placeholder: Minimal Reproduction\n validations:\n required: true\n - type: textarea\n id: expected-behavior\n attributes:\n label: Expected behavior\n description: |\n Provide a description of the expected behavior.\n placeholder: Expected behavior\n validations:\n required: true\n - type: textarea\n id: actual-behavior\n attributes:\n label: Actual behavior\n description: |\n Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or memory dumps.\n placeholder: Actual behavior\n validations:\n required: true\n - type: textarea\n id: regression\n attributes:\n label: Regression?\n description: |\n Did this work in a previous build or release of .NET Core, or from .NET Framework? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK.\n placeholder: Regression?\n validations:\n required: false\n - type: textarea\n id: known-workarounds\n attributes:\n label: Known Workarounds\n description: |\n Please provide a description of any known workarounds.\n placeholder: Known Workarounds\n validations:\n required: false\n\n - type: textarea\n id: impact\n attributes:\n label: Impact\n description: |\n Please provide a description of known impact radius, impact intensity and impact reach.\n placeholder: Impact of bug.\n validations:\n required: false\n\n - type: textarea\n id: configuration\n attributes:\n label: Configuration\n description: |\n Please provide more information on your .NET configuration:\n * Which version of .NET is the code running on?\n * What OS and version, and what distro if applicable?\n * What is the architecture (x64, x86, ARM, ARM64)?\n * Do you know whether it is specific to that configuration?\n placeholder: Configuration\n validations:\n required: false\n - type: textarea\n id: other-info\n attributes:\n label: Other information\n description: |\n If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of.\n placeholder: Other information\n validations:\n required: false\n | dataset_sample\yaml\dotnet_wpf\.github\ISSUE_TEMPLATE\01_bug_report.yml | 01_bug_report.yml | YAML | 3,699 | 0.95 | 0.052083 | 0.043011 | python-kit | 32 | 2025-05-15T15:37:53.951729 | MIT | false | 24f16251463206e0ea9f82522fc993aa |
name: API Suggestion\ndescription: Propose a change to the public API surface\ntitle: "[API Proposal]: "\nlabels: [api-suggestion]\nbody:\n - type: markdown\n attributes:\n value: |\n We welcome API proposals! We have a process to evaluate the value and shape of new API. There is an overview of our process [here](https://github.com/dotnet/wpf/blob/main/Documentation/project/api-review-process.md). This template will help us gather the information we need to start the review process.\n - type: textarea\n id: background\n attributes:\n label: Background and motivation\n description: Please describe the purpose and value of the new API here.\n placeholder: Purpose\n validations:\n required: true\n - type: textarea\n id: api-proposal\n attributes:\n label: API Proposal\n description: |\n Please provide the specific public API signature diff that you are proposing.\n\n You may find the [Framework Design Guidelines](https://github.com/dotnet/runtime/blob/main/docs/coding-guidelines/framework-design-guidelines-digest.md) helpful.\n placeholder: API declaration (no method bodies)\n value: |\n ```csharp\n namespace System.Collections.Generic;\n\n public class MyFancyCollection<T> : IEnumerable<T>\n {\n public void Fancy(T item);\n }\n ```\n validations:\n required: true\n - type: textarea\n id: api-usage\n attributes:\n label: API Usage\n description: |\n Please provide code examples that highlight how the proposed API additions are meant to be consumed. This will help suggest whether the API has the right shape to be functional, performant and usable.\n placeholder: API usage\n value: |\n ```csharp\n // Fancy the value\n var c = new MyFancyCollection<int>();\n c.Fancy(42);\n\n // Getting the values out\n foreach (var v in c)\n Console.WriteLine(v);\n ```\n validations:\n required: true\n - type: textarea\n id: alternative-designs\n attributes:\n label: Alternative Designs\n description: |\n Please provide alternative designs. This might not be APIs; for example instead of providing new APIs an option might be to change the behavior of an existing API.\n placeholder: Alternative designs\n validations:\n required: false\n - type: textarea\n id: risks\n attributes:\n label: Risks\n description: |\n Please mention any risks that to your knowledge the API proposal might entail, such as breaking changes, performance regressions, etc.\n placeholder: Risks\n validations:\n required: false\n | dataset_sample\yaml\dotnet_wpf\.github\ISSUE_TEMPLATE\02_api_proposal.yml | 02_api_proposal.yml | YAML | 2,667 | 0.95 | 0.027027 | 0.028169 | node-utils | 980 | 2025-07-04T05:49:37.054698 | MIT | false | 7f30038f7a23155ae3df57c7c6303f2a |
blank_issues_enabled: true\ncontact_links:\n - name: Issue with .NET runtime or core .NET libraries\n url: https://github.com/dotnet/runtime/issues/new/choose\n about: Please open issues with the .NET runtime or core .NET libraries in the dotnet/runtime repo\n - name: Issue with Windows Forms\n url: https://github.com/dotnet/winforms/issues/new/choose\n about: Please open issues with Windows Forms in the dotnet/winforms repo\n - name: Issue with .NET Core SDK\n url: https://github.com/dotnet/sdk/issues/new/choose\n about: Please open issues with the .NET Core SDK in the dotnet/sdk repo\n - name: Issue with Entity Framework\n url: https://github.com/dotnet/efcore/issues/new/choose\n about: Please open issues with Entity Framework in the dotnet/efcore repo\n - name: Issue with Roslyn compiler\n url: https://github.com/dotnet/roslyn/issues/new/choose\n about: Please open issues with the Roslyn compiler in the dotnet/roslyn repo\n - name: Issue with ASP.NET\n url: https://github.com/dotnet/aspnetcore/issues/new/choose\n about: Please open issues with ASP.NET Core in the dotnet/aspnetcore repo\n\n | dataset_sample\yaml\dotnet_wpf\.github\ISSUE_TEMPLATE\config.yml | config.yml | YAML | 1,136 | 0.8 | 0 | 0 | react-lib | 854 | 2023-07-24T08:53:25.616851 | GPL-3.0 | false | 8d29eef7422f55a830e4840fa9d5e6f0 |
id: \nname: GitOps.PullRequestIssueManagement\ndescription: GitOps.PullRequestIssueManagement primitive\nowner: \nresource: repository\ndisabled: false\nwhere: \nconfiguration:\n resourceManagementConfiguration:\n scheduledSearches:\n - description: Close stale issues and pull requests\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n - hasLabel:\n label: ':zzz: no-recent-activity'\n - noActivitySince:\n days: 7\n - isIssue\n actions:\n - closeIssue\n - removeMilestone\n - description: Add no recent activity label to issues and pull requests\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isPullRequest\n - isOpen\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n - noActivitySince:\n days: 14\n - isNotLabeledWith:\n label: ':zzz: no-recent-activity'\n - isIssue\n actions:\n - addLabel:\n label: ':zzz: no-recent-activity'\n - addReply:\n reply: >-\n This submission has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **14 days**. \n\n\n It will be closed if no further activity occurs **within 7 days of this comment**.\n - description: Add draft label\n frequencies:\n - hourly:\n hour: 4\n filters:\n - isDraftPullRequest\n - isNotLabeledWith:\n label: draft\n actions:\n - addLabel:\n label: draft\n - description: Remove draft label\n frequencies:\n - hourly:\n hour: 4\n filters:\n - isNotDraftPullRequest\n - hasLabel:\n label: draft\n actions:\n - removeLabel:\n label: draft\n - description: Close stale issues\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: needs-author-feedback\n - hasLabel:\n label: no-recent-activity\n - noActivitySince:\n days: 3\n actions:\n - closeIssue\n - description: Add no recent activity label to issues\n frequencies:\n - hourly:\n hour: 3\n filters:\n - isIssue\n - isOpen\n - hasLabel:\n label: needs-author-feedback\n - noActivitySince:\n days: 4\n - isNotLabeledWith:\n label: no-recent-activity\n actions:\n - addLabel:\n label: no-recent-activity\n - addReply:\n reply: This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. Thank you for your contributions!\n - description: Move 'open' area-servicing-approved bugs back to Triage (milestone = empty) every month(30 days) for status update to community\n frequencies:\n - weekday:\n day: Monday\n time: 8:0\n filters:\n - isOpen\n - hasLabel:\n label: netfx-servicing-approved\n actions:\n - removeMilestone\n - addReply:\n reply: "@dotnet/wpf-developers, It's time to give an update to the community. "\n eventResponderTasks:\n - if:\n - payloadType: Pull_Request\n - isAction:\n action: Opened\n then:\n - addCodeFlowLink\n description: Add a CodeFlow link to new pull requests\n - if:\n - payloadType: Pull_Request_Review\n - isAction:\n action: Submitted\n - isReviewState:\n reviewState: Changes_requested\n then:\n - addLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n description: Add needs author feedback label to pull requests when changes are requested\n - if:\n - payloadType: Pull_Request\n - isActivitySender:\n issueAuthor: True\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n then:\n - removeLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n description: Remove needs author feedback label when the author responds to a pull request\n - if:\n - payloadType: Issue_Comment\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n then:\n - removeLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n description: Remove needs author feedback label when the author comments on a pull request\n - if:\n - payloadType: Pull_Request_Review\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n then:\n - removeLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n description: Remove needs author feedback label when the author responds to a pull request review comment\n - if:\n - payloadType: Pull_Request\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: ':zzz: no-recent-activity'\n then:\n - removeLabel:\n label: ':zzz: no-recent-activity'\n description: Remove no recent activity label from pull requests\n - if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: ':zzz: no-recent-activity'\n then:\n - removeLabel:\n label: ':zzz: no-recent-activity'\n description: Remove no recent activity label when a pull request is commented on\n - if:\n - payloadType: Pull_Request_Review\n - hasLabel:\n label: ':zzz: no-recent-activity'\n then:\n - removeLabel:\n label: ':zzz: no-recent-activity'\n description: Remove no recent activity label when a pull request is reviewed\n - if:\n - payloadType: Pull_Request\n - hasLabel:\n label: ':octocat: automerge'\n then:\n - enableAutoMerge:\n mergeMethod: Squash\n description: Automatically merge pull requests\n - if:\n - payloadType: Pull_Request\n - labelRemoved:\n label: ':octocat: automerge'\n then:\n - disableAutoMerge\n description: Automatically merge pull requests\n - if:\n - payloadType: Pull_Request\n then:\n - inPrLabel:\n label: ':construction: work in progress'\n description: In-PR label\n - if:\n - payloadType: Pull_Request\n - targetsBranch:\n branch: main\n - and:\n - isAction:\n action: Closed\n - isMerged\n - not:\n titleContains:\n pattern: '[main] Update dependencies'\n isRegex: False\n then:\n - addMilestone:\n milestone: 7.0 Preview4\n description: Apply milestone '7.0' to PRs on the main branch\n triggerOnOwnActions: true\n - if:\n - payloadType: Pull_Request\n - isActivitySender:\n user: dotnet-maestro[bot]\n issueAuthor: False\n - isAction:\n action: Opened\n then:\n - approvePullRequest:\n comment: Go, you big red fire engine!\n description: Auto-approve maestro PRs\n - if:\n - payloadType: Pull_Request\n - labelAdded:\n label: ':octocat: automerge'\n - or:\n - activitySenderHasPermission:\n permission: Admin\n - activitySenderHasPermission:\n permission: Write\n then:\n - approvePullRequest:\n comment: Happy to oblige\n description: Auto-approve auto-merge PRs\n - if:\n - payloadType: Issue_Comment\n then:\n - cleanEmailReply\n description: Cleanse emails\n - if:\n - payloadType: Pull_Request\n then:\n - assignTo:\n author: True\n description: Assign PRs to authors\n - if:\n - payloadType: Issue_Comment\n - isActivitySender:\n issueAuthor: True\n - hasLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n then:\n - removeLabel:\n label: ':mailbox_with_no_mail: waiting-author-feedback'\n description: Remove needs author feedback label when the author comments on an issue\n - if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: ':zzz: no-recent-activity'\n then:\n - removeLabel:\n label: ':zzz: no-recent-activity'\n description: Remove no recent activity label when an issue is commented on\n - if:\n - payloadType: Issues\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: ':zzz: no-recent-activity'\n then:\n - removeLabel:\n label: ':zzz: no-recent-activity'\n description: Remove no recent activity label from issue\n - if:\n - payloadType: Issues\n - isAction:\n action: Closed\n then:\n - removeMilestone\n description: Remove closed issues from milestones\n - if:\n - payloadType: Pull_Request\n - isAssignedToUser:\n user: dotnet-bot\n - titleContains:\n pattern: OneLocBuild\n isRegex: False\n - isAction:\n action: Opened\n then:\n - approvePullRequest:\n comment: Go, you big red fire engine!\n - addLabel:\n label: ':octocat: automerge'\n description: Auto-approve OneLocBuild PRs\n triggerOnOwnActions: true\n - if:\n - payloadType: Pull_Request\n - isAction:\n action: Opened\n then:\n - addLabel:\n label: PR\n - requestReview:\n reviewer: dipeshmsft\n - requestReview:\n reviewer: singhashish-wpf\n - requestReview:\n reviewer: dotnet/wpf-developers\n - requestReview:\n reviewer: Kuldeep-MS\n description: Add PR Label to new Pull Requests\n - if:\n - payloadType: Issues\n - labelAdded:\n label: declined\n then:\n - addReply:\n reply: We appreciate the feedback, however this doesn’t currently align to the project’s goals and [roadmap](https://github.com/dotnet/wpf/blob/master/roadmap.md) and so will be automatically closed. Thank you for your contributions!\n - closeIssue\n description: When "declined" label is added, close and respond\n - if:\n - payloadType: Issues\n - not:\n isAction:\n action: Closed\n - hasLabel:\n label: no-recent-activity\n then:\n - removeLabel:\n label: no-recent-activity\n description: Remove no recent activity label from issues\n - if:\n - payloadType: Issue_Comment\n - hasLabel:\n label: no-recent-activity\n - isAction:\n action: Edited\n then:\n - removeLabel:\n label: no-recent-activity\n description: Remove no recent activity label when an issue is commented on\n - if:\n - payloadType: Pull_Request\n - hasLabel:\n label: auto_merge\n then:\n - enableAutoMerge:\n mergeMethod: Squash\n description: Auto merge PR's marked auto_merge when all checks have passed\n - if:\n - payloadType: Pull_Request\n - labelRemoved:\n label: auto_merge\n then:\n - disableAutoMerge\n description: Auto merge PR's marked auto_merge when all checks have passed\n - if:\n - payloadType: Pull_Request\n - labelAdded:\n label: Servicing-consider\n then:\n - addReply:\n reply: >-\n Hi @${issueAuthor}. Please make sure you've updated the PR description to use the [Shiproom Template](https://dev.azure.com/devdiv/DevDiv/_wiki/wikis/DevDiv.wiki/545/NET-Servicing#pr-template). Also, make sure this PR is not marked as a draft and is ready-to-merge.\n\n\n To learn more about how to prepare a servicing PR [click here](https://aka.ms/aspnet/servicing).\n description: Use servicing template for `servicing-consider` issues\n - if:\n - payloadType: Pull_Request\n - isAction:\n action: Opened\n - activitySenderHasPermission:\n permission: Read\n - not:\n isActivitySender:\n user: dotnet-maestro\n issueAuthor: False\n - not:\n isActivitySender:\n user: dotnet-maestro-bot\n issueAuthor: False\n then:\n - addLabel:\n label: Community Contribution\n description: Label community PRs with `community contribution` label\nonFailure: \nonSuccess:\n | dataset_sample\yaml\dotnet_wpf\.github\policies\resourceManagement.yml | resourceManagement.yml | YAML | 12,580 | 0.8 | 0.089372 | 0 | awesome-app | 630 | 2023-07-17T05:01:35.895462 | Apache-2.0 | false | 3b71e143db45b0d24f240e299b3a4621 |
name: Backport PR to branch\non:\n issue_comment:\n types: [created]\n schedule:\n # once a day at 13:00 UTC to cleanup old runs\n - cron: '0 13 * * *'\n\npermissions:\n contents: write\n issues: write\n pull-requests: write\n actions: write\n\njobs:\n backport:\n if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }}\n uses: dotnet/arcade/.github/workflows/backport-base.yml@main\n with:\n pr_description_template: |\n Backport of #%source_pr_number% to %target_branch%\n /cc %cc_users%\n ## Customer Impact\n ## Testing\n ## Risk\n **IMPORTANT**: If this backport is for a servicing release, please verify that:\n - The PR target branch is `release/X.0-staging`, not `release/X.0`.\n - If the change touches code that ships in a NuGet package, you have added the necessary [package authoring](https://github.com/dotnet/runtime/blob/main/docs/project/library-servicing.md) and gotten it explicitly reviewed.\n | dataset_sample\yaml\dotnet_wpf\.github\workflows\backportPRs.yml | backportPRs.yml | YAML | 1,013 | 0.8 | 0.071429 | 0.192308 | awesome-app | 336 | 2025-06-26T05:40:36.458695 | Apache-2.0 | false | dbfb45201b7a961b9afb7474921432f1 |
name: Locker - Lock stale issues and PRs\non:\n schedule:\n - cron: '0 9 * * *' # Once per day, early morning PT\n\n workflow_dispatch:\n # Manual triggering through the GitHub UI, API, or CLI\n inputs:\n daysSinceClose:\n required: true\n default: "30"\n daysSinceUpdate:\n required: true\n default: "30"\n\npermissions:\n issues: write\n pull-requests: write\n\njobs:\n main:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout Actions\n uses: actions/checkout@v4\n with:\n repository: "microsoft/vscode-github-triage-actions"\n path: ./actions\n ref: cd16cd2aad6ba2da74bb6c6f7293adddd579a90e # locker action commit sha\n - name: Install Actions\n run: npm install --production --prefix ./actions\n - name: Run Locker\n uses: ./actions/locker\n with:\n daysSinceClose: ${{ fromJson(inputs.daysSinceClose || 30) }}\n daysSinceUpdate: ${{ fromJson(inputs.daysSinceUpdate || 30) }}\n | dataset_sample\yaml\dotnet_wpf\.github\workflows\locker.yml | locker.yml | YAML | 1,002 | 0.95 | 0 | 0.030303 | awesome-app | 423 | 2024-08-06T03:24:24.872156 | BSD-3-Clause | false | 4fe25c483df64a51fe1f57528cdd82cc |
name: Inter-branch merge workflow\non:\n push:\n branches:\n - release/**\n\npermissions:\n contents: write\n pull-requests: write\n\njobs:\n Merge:\n uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main\n | dataset_sample\yaml\dotnet_wpf\.github\workflows\main.yml | main.yml | YAML | 225 | 0.8 | 0 | 0 | react-lib | 562 | 2024-02-04T00:25:37.880077 | Apache-2.0 | false | 069c68276fcef83f03c3f4e16d68780c |
#\n# This file should be kept in sync across https://www.github.com/dotnet/wpf and dotnet-wpf-int repos. \n#\n# \n\nparameters:\n # Needed because runAsPublic is used in template expressions, which can't read from user-defined variables\n # Defaults to true\n runAsPublic: true\n repoName: dotnet/wpf\n TSAEnabled: true\n\njobs:\n- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:\n - template: /eng/common/templates/job/onelocbuild.yml\n parameters:\n MirrorRepo: wpf\n LclSource: lclFilesfromPackage\n LclPackageId: 'LCL-JUNO-PROD-WPF'\n- template: /eng/common/templates/jobs/jobs.yml\n parameters:\n enableMicrobuild: true\n enablePublishBuildArtifacts: true\n enablePublishTestResults: false # tests run in helix\n enablePublishBuildAssets: true\n enablePublishUsingPipelines: true\n enableTelemetry: true\n enableSourceIndex: true\n sourceIndexParams:\n condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')\n binlogPath: artifacts/log/Debug/x86/Build.binlog\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: NetCore-Public\n demands: ImageOverride -equals windows.vs2022preview.amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: NetCore1ESPool-Internal\n demands: ImageOverride -equals windows.vs2022preview.amd64\n helixRepo: $(repoName)\n\n jobs:\n - job: Windows_NT\n timeoutInMinutes: 120 # how long to run the job before automatically cancelling; see https://github.com/dotnet/wpf/issues/952\n pool:\n # For public jobs, use the hosted pool. For internal jobs use the internal pool.\n # Will eventually change this to two BYOC pools.\n # agent pool can't be read from a user-defined variable (Azure DevOps limitation)\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: NetCore-Public\n demands: ImageOverride -equals windows.vs2022preview.amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: NetCore1ESPool-Internal\n demands: ImageOverride -equals windows.vs2022preview.amd64\n variables:\n - name: Codeql.Enabled\n value: true\n - name: Codeql.TSAEnabled\n value: ${{ parameters.TSAEnabled }}\n - name: Codeql.TSAOptionsPath\n value: $(Build.SourcesDirectory)/eng/tsaoptions.json\n # needed for signing\n - name: _TeamName\n value: DotNetCore\n - name: _SignType\n value: real\n - name: _SignArgs\n value: ''\n - name: _PublishArgs\n value: ''\n - name: _OfficialBuildIdArgs\n value: ''\n - name: _Platform\n value: x86\n - name: _PlatformArgs\n value: /p:Platform=$(_Platform)\n - name: _PublicBuildPipeline # We will run Helix tests when building in the open, but do not repeat when building and publishing again using the internal build-pipeline\n value: true\n - name: _TestHelixAgentPool\n value: 'Windows.10.Amd64.ClientRS5.Open' # Preferred:'Windows.10.Amd64.Open%3bWindows.7.Amd64.Open%3bWindows.10.Amd64.ClientRS5.Open'; See https://github.com/dotnet/wpf/issues/952\n - name: _HelixStagingDir\n value: $(BUILD.STAGINGDIRECTORY)\helix\functests\n - name: _HelixSource\n value: ${{ parameters.repoName }}/$(Build.SourceBranch)\n - name: _HelixToken\n value: ''\n - name: _HelixCreator\n value: ${{ parameters.repoName }}\n - name: _programfilesx86\n value: ${Env:ProgramFiles(x86)}/dotnet\n - name: _programfiles\n value: ${Env:ProgramFiles}/dotnet\n - ${{ if ne(variables['System.TeamProject'], 'internal') }}:\n - name: _InternalRuntimeDownloadArgs\n value: ''\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - group: AzureDevOps-Artifact-Feeds-Pats\n - name: _InternalRuntimeDownloadArgs\n value: >-\n /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal\n /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)\n\n\n # Override some values if we're building internally\n - ${{ if eq(parameters.runAsPublic, 'false') }}:\n # note: You have to use list syntax here (- name: value) or you will get errors about declaring the same variable multiple times\n - name: _SignType\n value: test\n - group: DotNet-HelixApi-Access\n\n # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved \n # until the agent is running on the machine. They can be overridden any time before they are resolved,\n # like in the job matrix below (see Build_Debug)\n - name: _SignArgs\n value: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName)\n - name: _PublishArgs\n value: /p:DotNetPublishUsingPipelines=true\n - name: _OfficialBuildIdArgs\n value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER)\n - name: _PublicBuildPipeline\n value: false\n - name: _HelixSource\n value: official/${{ parameters.repoName }}/$(Build.SourceBranch)\n - name: _HelixToken\n value: '$(HelixApiAccessToken)' # from DotNet-HelixApi-Access group\n - name: _HelixCreator\n value: '' #if _HelixToken is set, Creator must be empty\n - name: _TestHelixAgentPool\n value: 'Windows.10.Amd64.ClientRS5' # Preferred: 'Windows.10.Amd64%3bWindows.7.Amd64%3bWindows.10.Amd64.ClientRS5'\n\n strategy:\n matrix:\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_x86:\n _BuildConfig: Debug\n # override some variables for debug\n # _SignType has to be real for package publishing to succeed - do not override to test.\n Build_Release_x86:\n _BuildConfig: Release\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_x64:\n _BuildConfig: Debug\n _Coverage: true\n # override some variables for debug\n # _SignType has to be real for package publishing to succeed - do not override to test.\n _Platform: x64\n Build_Release_x64:\n _BuildConfig: Release\n _Platform: x64\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_arm64:\n _BuildConfig: Debug\n # override some variables for debug\n # _SignType has to be real for package publishing to succeed - do not override to test.\n _Platform: arm64\n Build_Release_arm64:\n _BuildConfig: Release\n _Platform: arm64\n steps:\n - checkout: self\n clean: true\n\n # Set VSO Variable(s)\n - powershell: eng\pre-build.ps1\n displayName: Pre-Build - Set VSO Variables\n\n - template: /eng/common/templates/steps/enable-internal-sources.yml\n - template: /eng/common/templates/steps/enable-internal-runtimes.yml\n\n # Use utility script to run script command dependent on agent OS.\n - script: eng\scripts\cibuild.cmd\n -configuration $(_BuildConfig)\n -prepareMachine\n $(_PublishArgs)\n $(_SignArgs)\n $(_OfficialBuildIdArgs)\n $(_PlatformArgs)\n $(_InternalRuntimeDownloadArgs)\n /p:Coverage=$(_Coverage)\n displayName: Windows Build / Publish\n # This condition should be kept in sync with the condition for 'Run DRTs' step \n # When building on a regular pipeline (!_HelixPipeline), build as usual \n # When building on a Helix pipeline, only build Release configs\n # (!_HelixPipeline) ||\n # (_HelixPipeline && _PublicBuildPipeline && _ContinuousIntegrationTestsEnabled && _BuildConfig == Release)\n condition: or(ne(variables['_HelixPipeline'], 'true'), and(eq(variables['_HelixPipeline'], 'true') ,eq(variables['_BuildConfig'], 'Release'), eq(variables['_PublicBuildPipeline'], 'true'), eq(variables['_ContinuousIntegrationTestsEnabled'], 'true')))\n\n - script: eng\scripts\ciunittest.cmd\n -configuration $(_BuildConfig)\n -prepareMachine\n $(_PublishArgs)\n $(_SignArgs)\n $(_OfficialBuildIdArgs)\n $(_PlatformArgs)\n $(_InternalRuntimeDownloadArgs)\n /bl:$(Build.SourcesDirectory)\artifacts\log\$(_BuildConfig)\Test.binlog\n /p:Coverage=$(_Coverage)\n displayName: Run xUnit Tests\n condition: and(or(ne(variables['_HelixPipeline'], 'true'), and(eq(variables['_HelixPipeline'], 'true'), eq(variables['_PublicBuildPipeline'], 'true'), eq(variables['_ContinuousIntegrationTestsEnabled'], 'true'))), eq(variables['_Platform'], 'x64'))\n\n - task: PublishTestResults@2\n displayName: Publish XUnit Test Results\n inputs:\n testRunner: VSTest\n testResultsFiles: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/*.trx'\n mergeTestResults: true\n condition: and(succeededOrFailed(), eq(variables['_BuildConfig'], 'Debug'), eq(variables['_Platform'], 'x64'))\n \n # Upload code coverage data\n - script: dotnet msbuild -binaryLogger:artifacts\log\$(_configuration)\uploadCodeCov.binlog;ProjectImports=Embed -restore eng/CodeCoverage.proj\n displayName: Upload coverage to codecov.io\n condition: and(succeeded(), eq(variables['_Coverage'], True), eq(variables['_BuildConfig'], 'Debug'), eq(variables['_Platform'], 'x64'))\n # - task: PowerShell@2\n # displayName: Install .NET Core\n # inputs:\n # filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1\n # arguments: -InstallDir $(_programfiles) -Architecture $(_Platform) -Runtime dotnet -Channel 9.0 -Quality daily\n # condition: eq(variables['_Platform'], 'x64')\n \n # - task: PowerShell@2\n # displayName: Install .NET Core(x86)\n # inputs:\n # filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1\n # arguments: -InstallDir $(_programfilesx86) -Architecture $(_Platform) -Runtime dotnet -Channel 9.0 -Quality daily\n # condition: eq(variables['_Platform'], 'x86')\n \n # - task: PowerShell@2\n # displayName: Install .NET WindowsDesktop\n # inputs:\n # filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1\n # arguments: -InstallDir $(_programfiles) -Architecture $(_Platform) -Runtime windowsdesktop -Channel 9.0 -Quality daily\n # condition: eq(variables['_Platform'], 'x64')\n \n # - task: PowerShell@2\n # displayName: Install .NET WindowsDesktop(x86)\n # inputs:\n # filePath: $(Build.SourcesDirectory)/dotnet-test-install.ps1\n # arguments: -InstallDir $(_programfilesx86) -Architecture $(_Platform) -Runtime windowsdesktop -Channel 9.0 -Quality daily\n # condition: eq(variables['_Platform'], 'x86') \n\n # - task: PowerShell@2\n # displayName: Replace WPF binaries\n # inputs:\n # targetType: 'inline'\n # script: '.\eng\copy-wpf.ps1 -testhost -destination .dotnet -$(_BuildConfig) -arch $(_Platform)'\n # condition: and(eq(variables['System.TeamProject'], 'public'), ne(variables['_Platform'], 'arm64'))\n\n # - task: DownloadPipelineArtifact@2\n # displayName: Fetch Test Binaries\n # inputs:\n # buildType: 'specific'\n # project: 'cbb18261-c48f-4abb-8651-8cdcb5474649'\n # pipeline: '81'\n # buildVersionToDownload: 'latestFromBranch'\n # branchName: 'refs/heads/main'\n # downloadPath: '$(System.ArtifactsDirectory)\testbinzip\'\n # checkDownloadedFiles: true\n # artifactName: Tests.$(_BuildConfig).$(_Platform).zip\n # condition: and(eq(variables['System.TeamProject'], 'public'), ne(variables['_Platform'], 'arm64'))\n\n # - task: ExtractFiles@1\n # displayName: Extract Test Bins\n # inputs:\n # archiveFilePatterns: '$(System.ArtifactsDirectory)\testbinzip\*.zip'\n # destinationFolder: '$(System.ArtifactsDirectory)\testbins'\n # cleanDestinationFolder: true\n # overwriteExistingFiles: true\n # condition: and(eq(variables['System.TeamProject'], 'public'), ne(variables['_Platform'], 'arm64'))\n\n # - task: PowerShell@2\n # displayName: Run Tests\n # inputs:\n # targetType: 'inline'\n # script: '.\CIRunDrts.cmd'\n # workingDirectory: '$(System.ArtifactsDirectory)\testbins'\n # condition: and(eq(variables['System.TeamProject'], 'public'), ne(variables['_Platform'], 'arm64'))\n \n # - task: CopyFiles@2\n # inputs:\n # SourceFolder: 'C:\Users\cloudtest\AppData\Roaming\QualityVault\Run\Report\'\n # Contents: '**'\n # TargetFolder: '$(System.DefaultWorkingDirectory)\Results\'\n # CleanTargetFolder: true\n # OverWrite: true\n # condition: and(eq(variables['System.TeamProject'], 'public'), eq(variables['_Platform'], 'x64'), eq(variables['_BuildConfig'], 'Release'))\n \n # - task: CopyFiles@2\n # inputs:\n # SourceFolder: 'C:\Users\cloudtest\AppData\Roaming\QualityVault\Run\Report\'\n # Contents: '**'\n # TargetFolder: '$(System.DefaultWorkingDirectory)\ResultsX86\'\n # CleanTargetFolder: true\n # OverWrite: true\n # condition: and(eq(variables['System.TeamProject'], 'public'), eq(variables['_Platform'], 'x86'), eq(variables['_BuildConfig'], 'Release'))\n\n # - task: PublishPipelineArtifact@1\n # inputs:\n # artifactName: 'TestResultsX64'\n # targetPath: '$(System.DefaultWorkingDirectory)\Results\' \n # condition: and(eq(variables['System.TeamProject'], 'public'), eq(variables['_Platform'], 'x64'), eq(variables['_BuildConfig'], 'Release'))\n\n # - task: PublishPipelineArtifact@1\n # inputs:\n # artifactName: 'TestResultsX86'\n # targetPath: '$(System.DefaultWorkingDirectory)\ResultsX86\'\n # condition: and(eq(variables['System.TeamProject'], 'public'), eq(variables['_Platform'], 'x86'), eq(variables['_BuildConfig'], 'Release'))\n \n # - task: PublishTestResults@2\n # inputs:\n # testResultsFormat: 'XUnit'\n # testResultsFiles: 'testResults.xml'\n # searchFolder: '$(System.DefaultWorkingDirectory)\Results\'\n # testRunTitle: 'Test results'\n # mergeTestResults: true\n # condition: eq(variables['System.TeamProject'], 'public') | dataset_sample\yaml\dotnet_wpf\eng\pipeline-pr.yml | pipeline-pr.yml | YAML | 14,895 | 0.8 | 0.067093 | 0.415225 | python-kit | 34 | 2025-01-03T07:26:59.695539 | GPL-3.0 | false | 39ea7e518af6df4a288a83baedcc84b4 |
#\n# This file should be kept in sync across https://www.github.com/dotnet/wpf and dotnet-wpf-int repos. \n#\n# \nparameters:\n runAsPublic: true\n repoName: dotnet/wpf\n TSAEnabled: true\njobs:\n- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.SourceBranch'], 'refs/heads/main')) }}:\n - template: /eng/common/templates-official/job/onelocbuild.yml@self\n parameters:\n MirrorRepo: wpf\n LclSource: lclFilesfromPackage\n LclPackageId: 'LCL-JUNO-PROD-WPF'\n- template: /eng/common/templates-official/jobs/jobs.yml@self\n parameters:\n enableMicrobuild: true\n enablePublishBuildArtifacts: true\n enablePublishTestResults: false # tests run in helix\n enablePublishBuildAssets: true\n enablePublishUsingPipelines: true\n enableTelemetry: true\n enableSourceIndex: true\n sourceIndexParams:\n condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')\n binlogPath: artifacts/log/Debug/x86/Build.binlog\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: NetCore-Public\n demands: ImageOverride -equals windows.vs2022preview.amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: NetCore1ESPool-Internal\n demands: ImageOverride -equals windows.vs2022preview.amd64\n helixRepo: $(repoName)\n jobs:\n - job: Windows_NT\n timeoutInMinutes: 120 # how long to run the job before automatically cancelling; see https://github.com/dotnet/wpf/issues/952\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: NetCore-Public\n demands: ImageOverride -equals windows.vs2022preview.amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: NetCore1ESPool-Internal\n demands: ImageOverride -equals windows.vs2022preview.amd64\n variables:\n - name: Codeql.Enabled\n value: true\n - name: Codeql.TSAEnabled\n value: ${{ parameters.TSAEnabled }}\n - name: Codeql.TSAOptionsPath\n value: $(Build.SourcesDirectory)/eng/tsaoptions.json\n - name: _TeamName\n value: DotNetCore\n - name: _SignType\n value: real\n - name: _SignArgs\n value: ''\n - name: _PublishArgs\n value: ''\n - name: _OfficialBuildIdArgs\n value: ''\n - name: _Platform\n value: x86\n - name: _PlatformArgs\n value: /p:Platform=$(_Platform)\n - name: _PublicBuildPipeline # We will run Helix tests when building in the open, but do not repeat when building and publishing again using the internal build-pipeline\n value: true\n - name: _TestHelixAgentPool\n value: 'Windows.10.Amd64.ClientRS5.Open' #Preferred:'Windows.10.Amd64.Open%3bWindows.7.Amd64.Open%3bWindows.10.Amd64.ClientRS5.Open'; See https://github.com/dotnet/wpf/issues/952\n - name: _HelixStagingDir\n value: $(BUILD.STAGINGDIRECTORY)\helix\functests\n - name: _HelixSource\n value: ${{ parameters.repoName }}/$(Build.SourceBranch)\n - name: _HelixToken\n value: ''\n - name: _HelixCreator\n value: ${{ parameters.repoName }}\n - name: _programfilesx86\n value: ${Env:ProgramFiles(x86)}/dotnet\n - name: _programfiles\n value: ${Env:ProgramFiles}/dotnet\n - ${{ if ne(variables['System.TeamProject'], 'internal') }}:\n - name: _InternalRuntimeDownloadArgs\n value: ''\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - group: AzureDevOps-Artifact-Feeds-Pats\n - name: _InternalRuntimeDownloadArgs\n value: >-\n /p:DotNetRuntimeSourceFeed=https://dotnetbuilds.blob.core.windows.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)\n - ${{ if eq(parameters.runAsPublic, 'false') }}:\n # note: You have to use list syntax here (- name: value) or you will get errors about declaring the same variable multiple times\n - name: _SignType\n value: real\n - group: DotNet-HelixApi-Access\n\n # note: Even though they are referenced here, user defined variables (like $(_SignType)) are not resolved \n # until the agent is running on the machine. They can be overridden any time before they are resolved,\n # like in the job matrix below (see Build_Debug)\n - name: _SignArgs\n value: /p:DotNetSignType=$(_SignType) /p:TeamName=$(_TeamName)\n - name: _PublishArgs\n value: /p:DotNetPublishUsingPipelines=true\n - name: _OfficialBuildIdArgs\n value: /p:OfficialBuildId=$(BUILD.BUILDNUMBER)\n - name: _PublicBuildPipeline\n value: false\n - name: _HelixSource\n value: official/${{ parameters.repoName }}/$(Build.SourceBranch)\n - name: _HelixToken\n value: '$(HelixApiAccessToken)'\n - name: _HelixCreator\n value: ''\n - name: _TestHelixAgentPool\n value: 'Windows.10.Amd64.ClientRS5'\n strategy:\n matrix:\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_x86:\n _BuildConfig: Debug\n # override some variables for debug\n # _SignType has to be real for package publishing to succeed - do not override to test.\n Build_Release_x86:\n _BuildConfig: Release\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_x64:\n _BuildConfig: Debug\n # override some variables for debug\n # _SignType has to be real for package publishing to succeed - do not override to test.\n _Platform: x64\n Build_Release_x64:\n _BuildConfig: Release\n _Platform: x64\n ${{ if eq(parameters.runAsPublic, 'true') }}:\n Build_Debug_arm64:\n _BuildConfig: Debug\n _Platform: arm64\n Build_Release_arm64:\n _BuildConfig: Release\n _Platform: arm64\n steps:\n - checkout: self\n clean: true\n - powershell: eng\pre-build.ps1\n displayName: Pre-Build - Set VSO Variables\n \n - template: /eng/common/templates-official/steps/enable-internal-sources.yml\n - template: /eng/common/templates-official/steps/enable-internal-runtimes.yml\n \n # Use utility script to run script command dependent on agent OS\n - script: eng\scripts\cibuild.cmd -configuration $(_BuildConfig) -prepareMachine $(_PublishArgs) $(_SignArgs) $(_OfficialBuildIdArgs) $(_PlatformArgs) $(_InternalRuntimeDownloadArgs)\n displayName: Windows Build / Publish\n # This condition should be kept in sync with the condition for 'Run DRTs' step \n # When building on a regular pipeline (!_HelixPipeline), build as usual \n # When building on a Helix pipeline, only build Release configs\n # (!_HelixPipeline) ||\n # (_HelixPipeline && _PublicBuildPipeline && _ContinuousIntegrationTestsEnabled && _BuildConfig == Release)\n condition: or(ne(variables['_HelixPipeline'], 'true'), and(eq(variables['_HelixPipeline'], 'true') ,eq(variables['_BuildConfig'], 'Release'), eq(variables['_PublicBuildPipeline'], 'true'), eq(variables['_ContinuousIntegrationTestsEnabled'], 'true')))\n | dataset_sample\yaml\dotnet_wpf\eng\pipeline.yml | pipeline.yml | YAML | 7,352 | 0.8 | 0.101266 | 0.116129 | python-kit | 259 | 2025-05-31T23:08:19.357946 | BSD-3-Clause | false | 244d52d78f14099ad50255860e839420 |
parameters:\n# Job schema parameters - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n cancelTimeoutInMinutes: ''\n condition: ''\n container: ''\n continueOnError: false\n dependsOn: ''\n displayName: ''\n pool: ''\n steps: []\n strategy: ''\n timeoutInMinutes: ''\n variables: []\n workspace: ''\n templateContext: {}\n\n# Job base template specific parameters\n # See schema documentation - https://github.com/dotnet/arcade/blob/master/Documentation/AzureDevOps/TemplateSchema.md\n # publishing defaults\n artifacts: ''\n enableMicrobuild: false\n enableMicrobuildForMacAndLinux: false\n enablePublishBuildArtifacts: false\n enablePublishBuildAssets: false\n enablePublishTestResults: false\n enableBuildRetry: false\n mergeTestResults: false\n testRunTitle: ''\n testResultsFormat: ''\n name: ''\n componentGovernanceSteps: []\n preSteps: []\n artifactPublishSteps: []\n runAsPublic: false\n\n# 1es specific parameters\n is1ESPipeline: ''\n\njobs:\n- job: ${{ parameters.name }}\n\n ${{ if ne(parameters.cancelTimeoutInMinutes, '') }}:\n cancelTimeoutInMinutes: ${{ parameters.cancelTimeoutInMinutes }}\n\n ${{ if ne(parameters.condition, '') }}:\n condition: ${{ parameters.condition }}\n\n ${{ if ne(parameters.container, '') }}:\n container: ${{ parameters.container }}\n\n ${{ if ne(parameters.continueOnError, '') }}:\n continueOnError: ${{ parameters.continueOnError }}\n\n ${{ if ne(parameters.dependsOn, '') }}:\n dependsOn: ${{ parameters.dependsOn }}\n\n ${{ if ne(parameters.displayName, '') }}:\n displayName: ${{ parameters.displayName }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n\n ${{ if ne(parameters.strategy, '') }}:\n strategy: ${{ parameters.strategy }}\n\n ${{ if ne(parameters.timeoutInMinutes, '') }}:\n timeoutInMinutes: ${{ parameters.timeoutInMinutes }}\n\n ${{ if ne(parameters.templateContext, '') }}:\n templateContext: ${{ parameters.templateContext }}\n\n variables:\n - ${{ if ne(parameters.enableTelemetry, 'false') }}:\n - name: DOTNET_CLI_TELEMETRY_PROFILE\n value: '$(Build.Repository.Uri)'\n # Retry signature validation up to three times, waiting 2 seconds between attempts.\n # See https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu3028#retry-untrusted-root-failures\n - name: NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY\n value: 3,2000\n - ${{ each variable in parameters.variables }}:\n # handle name-value variable syntax\n # example:\n # - name: [key]\n # value: [value]\n - ${{ if ne(variable.name, '') }}:\n - name: ${{ variable.name }}\n value: ${{ variable.value }}\n\n # handle variable groups\n - ${{ if ne(variable.group, '') }}:\n - group: ${{ variable.group }}\n\n # handle template variable syntax\n # example:\n # - template: path/to/template.yml\n # parameters:\n # [key]: [value]\n - ${{ if ne(variable.template, '') }}:\n - template: ${{ variable.template }}\n ${{ if ne(variable.parameters, '') }}:\n parameters: ${{ variable.parameters }}\n\n # handle key-value variable syntax.\n # example:\n # - [key]: [value]\n - ${{ if and(eq(variable.name, ''), eq(variable.group, ''), eq(variable.template, '')) }}:\n - ${{ each pair in variable }}:\n - name: ${{ pair.key }}\n value: ${{ pair.value }}\n\n # DotNet-HelixApi-Access provides 'HelixApiAccessToken' for internal builds\n - ${{ if and(eq(parameters.enableTelemetry, 'true'), eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: DotNet-HelixApi-Access\n\n ${{ if ne(parameters.workspace, '') }}:\n workspace: ${{ parameters.workspace }}\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if ne(parameters.preSteps, '') }}:\n - ${{ each preStep in parameters.preSteps }}:\n - ${{ preStep }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/core-templates/steps/install-microbuild.yml\n parameters:\n enableMicrobuild: ${{ parameters.enableMicrobuild }}\n enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}\n continueOnError: ${{ parameters.continueOnError }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), eq(variables['System.TeamProject'], 'internal')) }}:\n - task: NuGetAuthenticate@1\n\n - ${{ if and(ne(parameters.artifacts.download, 'false'), ne(parameters.artifacts.download, '')) }}:\n - task: DownloadPipelineArtifact@2\n inputs:\n buildType: current\n artifactName: ${{ coalesce(parameters.artifacts.download.name, 'Artifacts_$(Agent.OS)_$(_BuildConfig)') }}\n targetPath: ${{ coalesce(parameters.artifacts.download.path, 'artifacts') }}\n itemPattern: ${{ coalesce(parameters.artifacts.download.pattern, '**') }}\n\n - ${{ each step in parameters.steps }}:\n - ${{ step }}\n\n - ${{ each step in parameters.componentGovernanceSteps }}:\n - ${{ step }}\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - template: /eng/common/core-templates/steps/cleanup-microbuild.yml\n parameters:\n enableMicrobuild: ${{ parameters.enableMicrobuild }}\n enableMicrobuildForMacAndLinux: ${{ parameters.enableMicrobuildForMacAndLinux }}\n continueOnError: ${{ parameters.continueOnError }}\n\n # Publish test results\n - ${{ if or(and(eq(parameters.enablePublishTestResults, 'true'), eq(parameters.testResultsFormat, '')), eq(parameters.testResultsFormat, 'xunit')) }}:\n - task: PublishTestResults@2\n displayName: Publish XUnit Test Results\n inputs:\n testResultsFormat: 'xUnit'\n testResultsFiles: '*.xml'\n searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'\n testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-xunit\n mergeTestResults: ${{ parameters.mergeTestResults }}\n continueOnError: true\n condition: always()\n - ${{ if or(and(eq(parameters.enablePublishTestResults, 'true'), eq(parameters.testResultsFormat, '')), eq(parameters.testResultsFormat, 'vstest')) }}:\n - task: PublishTestResults@2\n displayName: Publish TRX Test Results\n inputs:\n testResultsFormat: 'VSTest'\n testResultsFiles: '*.trx'\n searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)'\n testRunTitle: ${{ coalesce(parameters.testRunTitle, parameters.name, '$(System.JobName)') }}-trx\n mergeTestResults: ${{ parameters.mergeTestResults }}\n continueOnError: true\n condition: always()\n\n # gather artifacts\n - ${{ if ne(parameters.artifacts.publish, '') }}:\n - ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:\n - task: CopyFiles@2\n displayName: Gather binaries for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/bin'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/bin'\n - task: CopyFiles@2\n displayName: Gather packages for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/packages'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/packages'\n - ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:\n - task: CopyFiles@2\n displayName: Gather logs for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/log'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/log'\n continueOnError: true\n condition: always()\n \n - ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:\n - task: CopyFiles@2\n displayName: Gather logs for publish to artifacts\n inputs:\n SourceFolder: 'artifacts/log/$(_BuildConfig)'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'\n continueOnError: true\n condition: always()\n - ${{ if eq(parameters.enableBuildRetry, 'true') }}:\n - task: CopyFiles@2\n displayName: Gather buildconfiguration for build retry\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)/eng/common/BuildConfiguration'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/eng/common/BuildConfiguration'\n continueOnError: true\n condition: always()\n - ${{ each step in parameters.artifactPublishSteps }}:\n - ${{ step }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\job\job.yml | job.yml | YAML | 8,953 | 0.8 | 0.164444 | 0.117949 | awesome-app | 526 | 2023-12-16T10:26:03.932620 | Apache-2.0 | false | ddd1cfc3d70c270590cf0452a1d02df5 |
parameters:\n # Optional: dependencies of the job\n dependsOn: ''\n\n # Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool\n pool: ''\n \n CeapexPat: $(dn-bot-ceapex-package-r) # PAT for the loc AzDO instance https://dev.azure.com/ceapex\n GithubPat: $(BotAccount-dotnet-bot-repo-PAT)\n\n SourcesDirectory: $(Build.SourcesDirectory)\n CreatePr: true\n AutoCompletePr: false\n ReusePr: true\n UseLfLineEndings: true\n UseCheckedInLocProjectJson: false\n SkipLocProjectJsonGeneration: false\n LanguageSet: VS_Main_Languages\n LclSource: lclFilesInRepo\n LclPackageId: ''\n RepoType: gitHub\n GitHubOrg: dotnet\n MirrorRepo: ''\n MirrorBranch: main\n condition: ''\n JobNameSuffix: ''\n is1ESPipeline: ''\njobs:\n- job: OneLocBuild${{ parameters.JobNameSuffix }}\n \n dependsOn: ${{ parameters.dependsOn }}\n\n displayName: OneLocBuild${{ parameters.JobNameSuffix }}\n\n variables:\n - group: OneLocBuildVariables # Contains the CeapexPat and GithubPat\n - name: _GenerateLocProjectArguments\n value: -SourcesDirectory ${{ parameters.SourcesDirectory }}\n -LanguageSet "${{ parameters.LanguageSet }}"\n -CreateNeutralXlfs\n - ${{ if eq(parameters.UseCheckedInLocProjectJson, 'true') }}:\n - name: _GenerateLocProjectArguments\n value: ${{ variables._GenerateLocProjectArguments }} -UseCheckedInLocProjectJson\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n ${{ if eq(parameters.pool, '') }}:\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:\n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if ne(parameters.SkipLocProjectJsonGeneration, 'true') }}:\n - task: Powershell@2\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/generate-locproject.ps1\n arguments: $(_GenerateLocProjectArguments)\n displayName: Generate LocProject.json\n condition: ${{ parameters.condition }}\n\n - task: OneLocBuild@2\n displayName: OneLocBuild\n env:\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n inputs:\n locProj: eng/Localize/LocProject.json\n outDir: $(Build.ArtifactStagingDirectory)\n lclSource: ${{ parameters.LclSource }}\n lclPackageId: ${{ parameters.LclPackageId }}\n isCreatePrSelected: ${{ parameters.CreatePr }}\n isAutoCompletePrSelected: ${{ parameters.AutoCompletePr }}\n ${{ if eq(parameters.CreatePr, true) }}:\n isUseLfLineEndingsSelected: ${{ parameters.UseLfLineEndings }}\n ${{ if eq(parameters.RepoType, 'gitHub') }}:\n isShouldReusePrSelected: ${{ parameters.ReusePr }}\n packageSourceAuth: patAuth\n patVariable: ${{ parameters.CeapexPat }}\n ${{ if eq(parameters.RepoType, 'gitHub') }}:\n repoType: ${{ parameters.RepoType }}\n gitHubPatVariable: "${{ parameters.GithubPat }}"\n ${{ if ne(parameters.MirrorRepo, '') }}:\n isMirrorRepoSelected: true\n gitHubOrganization: ${{ parameters.GitHubOrg }}\n mirrorRepo: ${{ parameters.MirrorRepo }}\n mirrorBranch: ${{ parameters.MirrorBranch }}\n condition: ${{ parameters.condition }}\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish Localization Files\n pathToPublish: '$(Build.ArtifactStagingDirectory)/loc'\n publishLocation: Container\n artifactName: Loc\n condition: ${{ parameters.condition }}\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish LocProject.json\n pathToPublish: '$(Build.SourcesDirectory)/eng/Localize/'\n publishLocation: Container\n artifactName: Loc\n condition: ${{ parameters.condition }} | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\job\onelocbuild.yml | onelocbuild.yml | YAML | 4,708 | 0.8 | 0.1 | 0.036697 | python-kit | 729 | 2024-07-19T17:06:05.485157 | GPL-3.0 | false | 00236b556180a527c74a077a61e1a640 |
parameters:\n configuration: 'Debug'\n\n # Optional: condition for the job to run\n condition: ''\n\n # Optional: 'true' if future jobs should run even if this job fails\n continueOnError: false\n\n # Optional: dependencies of the job\n dependsOn: ''\n\n # Optional: Include PublishBuildArtifacts task\n enablePublishBuildArtifacts: false\n\n # Optional: A defined YAML pool - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#pool\n pool: {}\n\n # Optional: should run as a public build even in the internal project\n # if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.\n runAsPublic: false\n\n # Optional: whether the build's artifacts will be published using release pipelines or direct feed publishing\n publishAssetsImmediately: false\n\n artifactsPublishingAdditionalParameters: ''\n\n signingValidationAdditionalParameters: ''\n\n is1ESPipeline: ''\n\n # Optional: 🌤️ or not the build has assets it wants to publish to BAR\n isAssetlessBuild: false\n\njobs:\n- job: Asset_Registry_Publish\n\n dependsOn: ${{ parameters.dependsOn }}\n timeoutInMinutes: 150\n\n ${{ if eq(parameters.publishAssetsImmediately, 'true') }}:\n displayName: Publish Assets\n ${{ else }}:\n displayName: Publish to Build Asset Registry\n\n variables:\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - group: Publish-Build-Assets\n - group: AzureDevOps-Artifact-Feeds-Pats\n - name: runCodesignValidationInjection\n value: false\n # unconditional - needed for logs publishing (redactor tool version)\n - template: /eng/common/core-templates/post-build/common-variables.yml\n\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ if ne(variables['System.TeamProject'], 'DevDiv') }}:\n name: NetCore1ESPool-Publishing-Internal\n image: windows.vs2019.amd64\n os: windows\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - checkout: self\n fetchDepth: 3\n clean: true\n\n - ${{ if eq(parameters.isAssetlessBuild, 'false') }}: \n - task: DownloadPipelineArtifact@2\n displayName: Download Asset Manifests\n inputs:\n artifactName: AssetManifests\n targetPath: '$(Build.StagingDirectory)/AssetManifests'\n condition: ${{ parameters.condition }}\n continueOnError: ${{ parameters.continueOnError }}\n \n - task: NuGetAuthenticate@1\n\n - task: AzureCLI@2\n displayName: Publish Build Assets\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/sdk-task.ps1\n arguments: -task PublishBuildAssets -restore -msbuildEngine dotnet\n /p:ManifestsPath='$(Build.StagingDirectory)/AssetManifests'\n /p:IsAssetlessBuild=${{ parameters.isAssetlessBuild }}\n /p:MaestroApiEndpoint=https://maestro.dot.net\n /p:OfficialBuildId=$(Build.BuildNumber)\n condition: ${{ parameters.condition }}\n continueOnError: ${{ parameters.continueOnError }}\n \n - task: powershell@2\n displayName: Create ReleaseConfigs Artifact\n inputs:\n targetType: inline\n script: |\n New-Item -Path "$(Build.StagingDirectory)/ReleaseConfigs" -ItemType Directory -Force\n $filePath = "$(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt"\n Add-Content -Path $filePath -Value $(BARBuildId)\n Add-Content -Path $filePath -Value "$(DefaultChannels)"\n Add-Content -Path $filePath -Value $(IsStableBuild)\n\n $symbolExclusionfile = "$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt"\n if (Test-Path -Path $symbolExclusionfile)\n {\n Write-Host "SymbolExclusionFile exists"\n Copy-Item -Path $symbolExclusionfile -Destination "$(Build.StagingDirectory)/ReleaseConfigs"\n }\n\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish ReleaseConfigs Artifact\n pathToPublish: '$(Build.StagingDirectory)/ReleaseConfigs'\n publishLocation: Container\n artifactName: ReleaseConfigs\n\n - ${{ if or(eq(parameters.publishAssetsImmediately, 'true'), eq(parameters.isAssetlessBuild, 'true')) }}:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: AzureCLI@2\n displayName: Publish Using Darc\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1\n arguments: >\n -BuildId $(BARBuildId)\n -PublishingInfraVersion 3\n -AzdoToken '$(System.AccessToken)'\n -WaitPublishingFinish true\n -ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'\n -SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'\n -SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'\n\n - ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }}:\n - template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n JobLabel: 'Publish_Artifacts_Logs' \n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\job\publish-build-assets.yml | publish-build-assets.yml | YAML | 6,508 | 0.8 | 0.100629 | 0.090226 | react-lib | 208 | 2023-11-06T23:51:54.883595 | Apache-2.0 | false | c668a6a98deb846df7550aee3b107d09 |
parameters:\n # This template adds arcade-powered source-build to CI. The template produces a server job with a\n # default ID 'Source_Build_Complete' to put in a dependency list if necessary.\n\n # Specifies the prefix for source-build jobs added to pipeline. Use this if disambiguation needed.\n jobNamePrefix: 'Source_Build'\n\n # Defines the platform on which to run the job. By default, a linux-x64 machine, suitable for\n # managed-only repositories. This is an object with these properties:\n #\n # name: ''\n # The name of the job. This is included in the job ID.\n # targetRID: ''\n # The name of the target RID to use, instead of the one auto-detected by Arcade.\n # portableBuild: false\n # Enables non-portable mode. This means a more specific RID (e.g. fedora.32-x64 rather than\n # linux-x64), and compiling against distro-provided packages rather than portable ones. The\n # default is portable mode.\n # skipPublishValidation: false\n # Disables publishing validation. By default, a check is performed to ensure no packages are\n # published by source-build.\n # container: ''\n # A container to use. Runs in docker.\n # pool: {}\n # A pool to use. Runs directly on an agent.\n # buildScript: ''\n # Specifies the build script to invoke to perform the build in the repo. The default\n # './build.sh' should work for typical Arcade repositories, but this is customizable for\n # difficult situations.\n # jobProperties: {}\n # A list of job properties to inject at the top level, for potential extensibility beyond\n # container and pool.\n platform: {}\n\n is1ESPipeline: ''\n\n # If set to true and running on a non-public project,\n # Internal nuget and blob storage locations will be enabled.\n # This is not enabled by default because many repositories do not need internal sources\n # and do not need to have the required service connections approved in the pipeline.\n enableInternalSources: false\n\njobs:\n- job: ${{ parameters.jobNamePrefix }}_${{ parameters.platform.name }}\n displayName: Source-Build (${{ parameters.platform.name }})\n\n ${{ each property in parameters.platform.jobProperties }}:\n ${{ property.key }}: ${{ property.value }}\n\n ${{ if ne(parameters.platform.container, '') }}:\n container: ${{ parameters.platform.container }}\n\n ${{ if eq(parameters.platform.pool, '') }}:\n # The default VM host AzDO pool. This should be capable of running Docker containers: almost all\n # source-build builds run in Docker, including the default managed platform.\n # /eng/common/core-templates/variables/pool-providers.yml can't be used here (some customers declare variables already), so duplicate its logic\n ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]\n demands: ImageOverride -equals build.ubuntu.2004.amd64\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]\n image: 1es-mariner-2\n os: linux\n ${{ else }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore-Svc-Public' ), False, 'NetCore-Public')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64.Open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $[replace(replace(eq(contains(coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranch'], 'refs/heads/main'), 'release'), 'true'), True, 'NetCore1ESPool-Svc-Internal'), False, 'NetCore1ESPool-Internal')]\n demands: ImageOverride -equals Build.Ubuntu.2204.Amd64\n ${{ if ne(parameters.platform.pool, '') }}:\n pool: ${{ parameters.platform.pool }}\n\n workspace:\n clean: all\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if eq(parameters.enableInternalSources, true) }}:\n - template: /eng/common/core-templates/steps/enable-internal-sources.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - template: /eng/common/core-templates/steps/enable-internal-runtimes.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n - template: /eng/common/core-templates/steps/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n platform: ${{ parameters.platform }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\job\source-build.yml | source-build.yml | YAML | 5,100 | 0.95 | 0.180851 | 0.421687 | python-kit | 822 | 2023-11-29T23:30:47.991954 | GPL-3.0 | false | 61966e84629ff18049da91bad3a5549c |
parameters:\n runAsPublic: false\n sourceIndexBuildCommand: powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -Command "eng/common/build.ps1 -restore -build -binarylog -ci"\n preSteps: []\n binlogPath: artifacts/log/Debug/Build.binlog\n condition: ''\n dependsOn: ''\n pool: ''\n is1ESPipeline: ''\n\njobs:\n- job: SourceIndexStage1\n dependsOn: ${{ parameters.dependsOn }}\n condition: ${{ parameters.condition }}\n variables:\n - name: BinlogPath\n value: ${{ parameters.binlogPath }}\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n ${{ if ne(parameters.pool, '') }}:\n pool: ${{ parameters.pool }}\n ${{ if eq(parameters.pool, '') }}:\n pool:\n ${{ if eq(variables['System.TeamProject'], 'public') }}:\n name: $(DncEngPublicBuildPool)\n image: windows.vs2022.amd64.open\n ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n name: $(DncEngInternalBuildPool)\n image: windows.vs2022.amd64\n\n steps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ each preStep in parameters.preSteps }}:\n - ${{ preStep }}\n - script: ${{ parameters.sourceIndexBuildCommand }}\n displayName: Build Repository\n\n - template: /eng/common/core-templates/steps/source-index-stage1-publish.yml\n parameters:\n binLogPath: ${{ parameters.binLogPath }} | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\job\source-index-stage1.yml | source-index-stage1.yml | YAML | 1,538 | 0.7 | 0.116279 | 0 | python-kit | 646 | 2024-07-07T03:05:51.762713 | MIT | false | a43af1f566fb242b144d1ef8adbd9b1c |
parameters:\n # See schema documentation in /Documentation/AzureDevOps/TemplateSchema.md\n continueOnError: false\n # Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n jobs: []\n # Optional: if specified, restore and use this version of Guardian instead of the default.\n overrideGuardianVersion: ''\n is1ESPipeline: ''\n\njobs:\n- template: /eng/common/core-templates/jobs/jobs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n enableMicrobuild: false\n enablePublishBuildArtifacts: false\n enablePublishTestResults: false\n enablePublishBuildAssets: false\n enableTelemetry: true\n\n variables:\n - group: Publish-Build-Assets\n # The Guardian version specified in 'eng/common/sdl/packages.config'. This value must be kept in\n # sync with the packages.config file.\n - name: DefaultGuardianVersion\n value: 0.109.0\n - name: GuardianPackagesConfigFile\n value: $(Build.SourcesDirectory)\eng\common\sdl\packages.config\n - name: GuardianVersion\n value: ${{ coalesce(parameters.overrideGuardianVersion, '$(DefaultGuardianVersion)') }}\n \n jobs: ${{ parameters.jobs }}\n \n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\jobs\codeql-build.yml | codeql-build.yml | YAML | 1,239 | 0.8 | 0.03125 | 0.178571 | vue-tools | 120 | 2024-08-25T11:55:08.731127 | Apache-2.0 | false | b6cf98a749b555847cb1f1cc08db7b60 |
parameters:\n # See schema documentation in /Documentation/AzureDevOps/TemplateSchema.md\n continueOnError: false\n\n # Optional: Include PublishBuildArtifacts task\n enablePublishBuildArtifacts: false\n\n # Optional: Enable running the source-build jobs to build repo from source\n enableSourceBuild: false\n\n # Optional: Parameters for source-build template.\n # See /eng/common/core-templates/jobs/source-build.yml for options\n sourceBuildParameters: []\n\n graphFileGeneration:\n # Optional: Enable generating the graph files at the end of the build\n enabled: false\n # Optional: Include toolset dependencies in the generated graph files\n includeToolset: false\n \n # Required: A collection of jobs to run - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=schema#job\n jobs: []\n\n # Optional: Override automatically derived dependsOn value for "publish build assets" job\n publishBuildAssetsDependsOn: ''\n\n # Optional: Publish the assets as soon as the publish to BAR stage is complete, rather doing so in a separate stage.\n publishAssetsImmediately: false\n\n # Optional: If using publishAssetsImmediately and additional parameters are needed, can be used to send along additional parameters (normally sent to post-build.yml)\n artifactsPublishingAdditionalParameters: ''\n signingValidationAdditionalParameters: ''\n\n # Optional: should run as a public build even in the internal project\n # if 'true', the build won't run any of the internal only steps, even if it is running in non-public projects.\n runAsPublic: false\n\n enableSourceIndex: false\n sourceIndexParams: {}\n\n artifacts: {}\n is1ESPipeline: ''\n\n# Internal resources (telemetry, microbuild) can only be accessed from non-public projects,\n# and some (Microbuild) should only be applied to non-PR cases for internal builds.\n\njobs:\n- ${{ each job in parameters.jobs }}:\n - ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n - template: /eng/common/templates-official/job/job.yml\n parameters: \n # pass along parameters\n ${{ each parameter in parameters }}:\n ${{ if ne(parameter.key, 'jobs') }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n # pass along job properties\n ${{ each property in job }}:\n ${{ if ne(property.key, 'job') }}:\n ${{ property.key }}: ${{ property.value }}\n\n name: ${{ job.job }}\n\n - ${{ else }}:\n - template: /eng/common/templates/job/job.yml\n parameters: \n # pass along parameters\n ${{ each parameter in parameters }}:\n ${{ if ne(parameter.key, 'jobs') }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n # pass along job properties\n ${{ each property in job }}:\n ${{ if ne(property.key, 'job') }}:\n ${{ property.key }}: ${{ property.value }}\n\n name: ${{ job.job }}\n\n- ${{ if eq(parameters.enableSourceBuild, true) }}:\n - template: /eng/common/core-templates/jobs/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n allCompletedJobId: Source_Build_Complete\n ${{ each parameter in parameters.sourceBuildParameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n- ${{ if eq(parameters.enableSourceIndex, 'true') }}:\n - template: ../job/source-index-stage1.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n runAsPublic: ${{ parameters.runAsPublic }}\n ${{ each parameter in parameters.sourceIndexParams }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - ${{ if or(eq(parameters.enablePublishBuildAssets, true), eq(parameters.artifacts.publish.manifests, 'true'), ne(parameters.artifacts.publish.manifests, '')) }}:\n - template: ../job/publish-build-assets.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n continueOnError: ${{ parameters.continueOnError }}\n dependsOn:\n - ${{ if ne(parameters.publishBuildAssetsDependsOn, '') }}:\n - ${{ each job in parameters.publishBuildAssetsDependsOn }}:\n - ${{ job.job }}\n - ${{ if eq(parameters.publishBuildAssetsDependsOn, '') }}:\n - ${{ each job in parameters.jobs }}:\n - ${{ job.job }}\n - ${{ if eq(parameters.enableSourceBuild, true) }}:\n - Source_Build_Complete\n\n runAsPublic: ${{ parameters.runAsPublic }}\n publishAssetsImmediately: ${{ parameters.publishAssetsImmediately }}\n enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}\n artifactsPublishingAdditionalParameters: ${{ parameters.artifactsPublishingAdditionalParameters }}\n signingValidationAdditionalParameters: ${{ parameters.signingValidationAdditionalParameters }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\jobs\jobs.yml | jobs.yml | YAML | 4,918 | 0.8 | 0.156522 | 0.204301 | node-utils | 676 | 2024-11-09T20:49:23.746153 | MIT | false | 8e26d6983674536a49182309767adf16 |
parameters:\n # This template adds arcade-powered source-build to CI. A job is created for each platform, as\n # well as an optional server job that completes when all platform jobs complete.\n\n # The name of the "join" job for all source-build platforms. If set to empty string, the job is\n # not included. Existing repo pipelines can use this job depend on all source-build jobs\n # completing without maintaining a separate list of every single job ID: just depend on this one\n # server job. By default, not included. Recommended name if used: 'Source_Build_Complete'.\n allCompletedJobId: ''\n\n # See /eng/common/core-templates/job/source-build.yml\n jobNamePrefix: 'Source_Build'\n\n # This is the default platform provided by Arcade, intended for use by a managed-only repo.\n defaultManagedPlatform:\n name: 'Managed'\n container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'\n\n # Defines the platforms on which to run build jobs. One job is created for each platform, and the\n # object in this array is sent to the job template as 'platform'. If no platforms are specified,\n # one job runs on 'defaultManagedPlatform'.\n platforms: []\n\n is1ESPipeline: ''\n\n # If set to true and running on a non-public project,\n # Internal nuget and blob storage locations will be enabled.\n # This is not enabled by default because many repositories do not need internal sources\n # and do not need to have the required service connections approved in the pipeline.\n enableInternalSources: false\n\njobs:\n\n- ${{ if ne(parameters.allCompletedJobId, '') }}:\n - job: ${{ parameters.allCompletedJobId }}\n displayName: Source-Build Complete\n pool: server\n dependsOn:\n - ${{ each platform in parameters.platforms }}:\n - ${{ parameters.jobNamePrefix }}_${{ platform.name }}\n - ${{ if eq(length(parameters.platforms), 0) }}:\n - ${{ parameters.jobNamePrefix }}_${{ parameters.defaultManagedPlatform.name }}\n\n- ${{ each platform in parameters.platforms }}:\n - template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobNamePrefix: ${{ parameters.jobNamePrefix }}\n platform: ${{ platform }}\n enableInternalSources: ${{ parameters.enableInternalSources }}\n\n- ${{ if eq(length(parameters.platforms), 0) }}:\n - template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobNamePrefix: ${{ parameters.jobNamePrefix }}\n platform: ${{ parameters.defaultManagedPlatform }}\n enableInternalSources: ${{ parameters.enableInternalSources }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\jobs\source-build.yml | source-build.yml | YAML | 2,635 | 0.95 | 0.137931 | 0.3125 | node-utils | 49 | 2025-04-02T11:27:32.100661 | GPL-3.0 | false | 9c96bdf99d1f3a016793532bcaf1cb89 |
variables:\n - group: Publish-Build-Assets\n\n # Whether the build is internal or not\n - name: IsInternalBuild\n value: ${{ and(ne(variables['System.TeamProject'], 'public'), contains(variables['Build.SourceBranch'], 'internal')) }}\n\n # Default Maestro++ API Endpoint and API Version\n - name: MaestroApiEndPoint\n value: "https://maestro.dot.net"\n - name: MaestroApiVersion\n value: "2020-02-20"\n\n - name: SourceLinkCLIVersion\n value: 3.0.0\n - name: SymbolToolVersion\n value: 1.0.1\n - name: BinlogToolVersion\n value: 1.0.11\n\n - name: runCodesignValidationInjection\n value: false\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\post-build\common-variables.yml | common-variables.yml | YAML | 604 | 0.8 | 0 | 0.111111 | react-lib | 618 | 2024-03-07T07:41:53.688062 | MIT | false | 8b9bb496920dd1aae684dc79d183e278 |
parameters:\n # Which publishing infra should be used. THIS SHOULD MATCH THE VERSION ON THE BUILD MANIFEST.\n # Publishing V1 is no longer supported\n # Publishing V2 is no longer supported\n # Publishing V3 is the default\n - name: publishingInfraVersion\n displayName: Which version of publishing should be used to promote the build definition?\n type: number\n default: 3\n values:\n - 3\n\n - name: BARBuildId\n displayName: BAR Build Id\n type: number\n default: 0\n\n - name: PromoteToChannelIds\n displayName: Channel to promote BARBuildId to\n type: string\n default: ''\n\n - name: enableSourceLinkValidation\n displayName: Enable SourceLink validation\n type: boolean\n default: false\n\n - name: enableSigningValidation\n displayName: Enable signing validation\n type: boolean\n default: true\n\n - name: enableSymbolValidation\n displayName: Enable symbol validation\n type: boolean\n default: false\n\n - name: enableNugetValidation\n displayName: Enable NuGet validation\n type: boolean\n default: true\n \n - name: publishInstallersAndChecksums\n displayName: Publish installers and checksums\n type: boolean\n default: true\n \n - name: requireDefaultChannels\n displayName: Fail the build if there are no default channel(s) registrations for the current build\n type: boolean\n default: false\n\n - name: SDLValidationParameters\n type: object\n default:\n enable: false\n publishGdn: false\n continueOnError: false\n params: ''\n artifactNames: ''\n downloadArtifacts: true\n\n - name: isAssetlessBuild\n type: boolean\n displayName: Is Assetless Build\n default: false\n\n # These parameters let the user customize the call to sdk-task.ps1 for publishing\n # symbols & general artifacts as well as for signing validation\n - name: symbolPublishingAdditionalParameters\n displayName: Symbol publishing additional parameters\n type: string\n default: ''\n\n - name: artifactsPublishingAdditionalParameters\n displayName: Artifact publishing additional parameters\n type: string\n default: ''\n\n - name: signingValidationAdditionalParameters\n displayName: Signing validation additional parameters\n type: string\n default: ''\n\n # Which stages should finish execution before post-build stages start\n - name: validateDependsOn\n type: object\n default:\n - build\n\n - name: publishDependsOn\n type: object\n default:\n - Validate\n\n # Optional: Call asset publishing rather than running in a separate stage\n - name: publishAssetsImmediately\n type: boolean\n default: false\n\n - name: is1ESPipeline\n type: boolean\n default: false\n\nstages:\n- ${{ if or(eq( parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:\n - stage: Validate\n dependsOn: ${{ parameters.validateDependsOn }}\n displayName: Validate Build Assets\n variables:\n - template: /eng/common/core-templates/post-build/common-variables.yml\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobs:\n - job:\n displayName: NuGet Validation\n condition: and(succeededOrFailed(), eq( ${{ parameters.enableNugetValidation }}, 'true'))\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}:\n name: $(DncEngInternalBuildPool)\n image: windows.vs2022.amd64\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64\n\n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Package Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: PackageArtifacts\n checkDownloadedFiles: true\n\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/nuget-validation.ps1\n arguments: -PackagesPath $(Build.ArtifactStagingDirectory)/PackageArtifacts/\n\n - job:\n displayName: Signing Validation\n condition: and( eq( ${{ parameters.enableSigningValidation }}, 'true'), ne( variables['PostBuildSign'], 'true'))\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Package Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: PackageArtifacts\n checkDownloadedFiles: true\n itemPattern: |\n **\n !**/Microsoft.SourceBuild.Intermediate.*.nupkg\n\n # This is necessary whenever we want to publish/restore to an AzDO private feed\n # Since sdk-task.ps1 tries to restore packages we need to do this authentication here\n # otherwise it'll complain about accessing a private feed.\n - task: NuGetAuthenticate@1\n displayName: 'Authenticate to AzDO Feeds'\n\n # Signing validation will optionally work with the buildmanifest file which is downloaded from\n # Azure DevOps above.\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: eng\common\sdk-task.ps1\n arguments: -task SigningValidation -restore -msbuildEngine vs\n /p:PackageBasePath='$(Build.ArtifactStagingDirectory)/PackageArtifacts'\n /p:SignCheckExclusionsFile='$(Build.SourcesDirectory)/eng/SignCheckExclusionsFile.txt'\n ${{ parameters.signingValidationAdditionalParameters }}\n\n - template: /eng/common/core-templates/steps/publish-logs.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n StageLabel: 'Validation'\n JobLabel: 'Signing'\n BinlogToolVersion: $(BinlogToolVersion)\n\n - job:\n displayName: SourceLink Validation\n condition: eq( ${{ parameters.enableSourceLinkValidation }}, 'true')\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: $(DncEngInternalBuildPool)\n image: 1es-windows-2022\n os: windows\n ${{ else }}:\n name: $(DncEngInternalBuildPool)\n demands: ImageOverride -equals windows.vs2022.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: DownloadBuildArtifacts@0\n displayName: Download Blob Artifacts\n inputs:\n buildType: specific\n buildVersionToDownload: specific\n project: $(AzDOProjectName)\n pipeline: $(AzDOPipelineId)\n buildId: $(AzDOBuildId)\n artifactName: BlobArtifacts\n checkDownloadedFiles: true\n\n - task: PowerShell@2\n displayName: Validate\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/sourcelink-validation.ps1\n arguments: -InputPath $(Build.ArtifactStagingDirectory)/BlobArtifacts/ \n -ExtractPath $(Agent.BuildDirectory)/Extract/ \n -GHRepoName $(Build.Repository.Name) \n -GHCommit $(Build.SourceVersion)\n -SourcelinkCliVersion $(SourceLinkCLIVersion)\n continueOnError: true\n\n- ${{ if ne(parameters.publishAssetsImmediately, 'true') }}:\n - stage: publish_using_darc\n ${{ if or(eq(parameters.enableNugetValidation, 'true'), eq(parameters.enableSigningValidation, 'true'), eq(parameters.enableSourceLinkValidation, 'true'), eq(parameters.SDLValidationParameters.enable, 'true')) }}:\n dependsOn: ${{ parameters.publishDependsOn }}\n ${{ else }}:\n dependsOn: ${{ parameters.validateDependsOn }}\n displayName: Publish using Darc\n variables:\n - template: /eng/common/core-templates/post-build/common-variables.yml\n - template: /eng/common/core-templates/variables/pool-providers.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n jobs:\n - job:\n displayName: Publish Using Darc\n timeoutInMinutes: 120\n pool:\n # We don't use the collection uri here because it might vary (.visualstudio.com vs. dev.azure.com)\n ${{ if eq(variables['System.TeamProject'], 'DevDiv') }}:\n name: AzurePipelines-EO\n image: 1ESPT-Windows2022\n demands: Cmd\n os: windows\n # If it's not devdiv, it's dnceng\n ${{ else }}:\n ${{ if eq(parameters.is1ESPipeline, true) }}: \n name: NetCore1ESPool-Publishing-Internal\n image: windows.vs2019.amd64\n os: windows\n ${{ else }}:\n name: NetCore1ESPool-Publishing-Internal\n demands: ImageOverride -equals windows.vs2019.amd64 \n steps:\n - template: /eng/common/core-templates/post-build/setup-maestro-vars.yml\n parameters:\n BARBuildId: ${{ parameters.BARBuildId }}\n PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n\n - task: NuGetAuthenticate@1\n\n - task: AzureCLI@2\n displayName: Publish Using Darc\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: ps\n scriptLocation: scriptPath\n scriptPath: $(Build.SourcesDirectory)/eng/common/post-build/publish-using-darc.ps1\n arguments: >\n -BuildId $(BARBuildId)\n -PublishingInfraVersion ${{ parameters.publishingInfraVersion }}\n -AzdoToken '$(System.AccessToken)'\n -WaitPublishingFinish true\n -RequireDefaultChannels ${{ parameters.requireDefaultChannels }}\n -ArtifactsPublishingAdditionalParameters '${{ parameters.artifactsPublishingAdditionalParameters }}'\n -SymbolPublishingAdditionalParameters '${{ parameters.symbolPublishingAdditionalParameters }}'\n -SkipAssetsPublishing '${{ parameters.isAssetlessBuild }}'\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\post-build\post-build.yml | post-build.yml | YAML | 12,574 | 0.95 | 0.045732 | 0.074324 | node-utils | 929 | 2023-09-18T06:50:04.670476 | GPL-3.0 | false | f91a35755d5ba27155a54a2ddb9b5afe |
parameters:\n BARBuildId: ''\n PromoteToChannelIds: ''\n is1ESPipeline: ''\n\nsteps:\n - ${{ if eq(parameters.is1ESPipeline, '') }}:\n - 'Illegal entry point, is1ESPipeline is not defined. Repository yaml should not directly reference templates in core-templates folder.': error\n\n - ${{ if eq(coalesce(parameters.PromoteToChannelIds, 0), 0) }}:\n - task: DownloadBuildArtifacts@0\n displayName: Download Release Configs\n inputs:\n buildType: current\n artifactName: ReleaseConfigs\n checkDownloadedFiles: true\n\n - task: AzureCLI@2\n name: setReleaseVars\n displayName: Set Release Configs Vars\n inputs:\n azureSubscription: "Darc: Maestro Production"\n scriptType: pscore\n scriptLocation: inlineScript\n inlineScript: |\n try {\n if (!$Env:PromoteToMaestroChannels -or $Env:PromoteToMaestroChannels.Trim() -eq '') {\n $Content = Get-Content $(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt\n\n $BarId = $Content | Select -Index 0\n $Channels = $Content | Select -Index 1\n $IsStableBuild = $Content | Select -Index 2\n\n $AzureDevOpsProject = $Env:System_TeamProject\n $AzureDevOpsBuildDefinitionId = $Env:System_DefinitionId\n $AzureDevOpsBuildId = $Env:Build_BuildId\n }\n else {\n . $(Build.SourcesDirectory)\eng\common\tools.ps1\n $darc = Get-Darc\n $buildInfo = & $darc get-build `\n --id ${{ parameters.BARBuildId }} `\n --extended `\n --output-format json `\n --ci `\n | convertFrom-Json\n\n $BarId = ${{ parameters.BARBuildId }}\n $Channels = $Env:PromoteToMaestroChannels -split ","\n $Channels = $Channels -join "]["\n $Channels = "[$Channels]"\n\n $IsStableBuild = $buildInfo.stable\n $AzureDevOpsProject = $buildInfo.azureDevOpsProject\n $AzureDevOpsBuildDefinitionId = $buildInfo.azureDevOpsBuildDefinitionId\n $AzureDevOpsBuildId = $buildInfo.azureDevOpsBuildId\n }\n\n Write-Host "##vso[task.setvariable variable=BARBuildId]$BarId"\n Write-Host "##vso[task.setvariable variable=TargetChannels]$Channels"\n Write-Host "##vso[task.setvariable variable=IsStableBuild]$IsStableBuild"\n\n Write-Host "##vso[task.setvariable variable=AzDOProjectName]$AzureDevOpsProject"\n Write-Host "##vso[task.setvariable variable=AzDOPipelineId]$AzureDevOpsBuildDefinitionId"\n Write-Host "##vso[task.setvariable variable=AzDOBuildId]$AzureDevOpsBuildId"\n }\n catch {\n Write-Host $_\n Write-Host $_.Exception\n Write-Host $_.ScriptStackTrace\n exit 1\n }\n env:\n PromoteToMaestroChannels: ${{ parameters.PromoteToChannelIds }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\post-build\setup-maestro-vars.yml | setup-maestro-vars.yml | YAML | 2,868 | 0.8 | 0.067568 | 0 | awesome-app | 606 | 2024-04-18T00:42:03.090734 | MIT | false | 0099b2f442b8c6334fcba40a65c22499 |
parameters:\n # Enable cleanup tasks for MicroBuild\n enableMicrobuild: false\n # Enable cleanup tasks for MicroBuild on Mac and Linux\n # Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT'\n enableMicrobuildForMacAndLinux: false\n continueOnError: false\n\nsteps:\n - ${{ if eq(parameters.enableMicrobuild, 'true') }}:\n - task: MicroBuildCleanup@1\n displayName: Execute Microbuild cleanup tasks\n condition: and(\n always(),\n or(\n and(\n eq(variables['Agent.Os'], 'Windows_NT'),\n in(variables['_SignType'], 'real', 'test')\n ),\n and(\n ${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }},\n ne(variables['Agent.Os'], 'Windows_NT'),\n eq(variables['_SignType'], 'real')\n )\n ))\n continueOnError: ${{ parameters.continueOnError }}\n env:\n TeamName: $(_TeamName)\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\cleanup-microbuild.yml | cleanup-microbuild.yml | YAML | 925 | 0.8 | 0.142857 | 0.111111 | awesome-app | 186 | 2025-05-26T16:34:53.814036 | GPL-3.0 | false | b2222299726a304c83a322ba596ce2e4 |
parameters:\n disableComponentGovernance: false\n componentGovernanceIgnoreDirectories: ''\n is1ESPipeline: false\n displayName: 'Component Detection'\n\nsteps:\n- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:\n - script: echo "##vso[task.setvariable variable=skipComponentGovernanceDetection]true"\n displayName: Set skipComponentGovernanceDetection variable\n- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:\n - task: ComponentGovernanceComponentDetection@0\n continueOnError: true\n displayName: ${{ parameters.displayName }}\n inputs:\n ignoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\component-governance.yml | component-governance.yml | YAML | 652 | 0.8 | 0.125 | 0 | node-utils | 597 | 2025-06-01T09:42:31.265030 | Apache-2.0 | false | 06f41b6f24d1e47fa0c51d41a968fcbe |
# Obtains internal runtime download credentials and populates the 'dotnetbuilds-internal-container-read-token-base64'\n# variable with the base64-encoded SAS token, by default\n\nparameters:\n- name: federatedServiceConnection\n type: string\n default: 'dotnetbuilds-internal-read'\n- name: outputVariableName\n type: string\n default: 'dotnetbuilds-internal-container-read-token-base64'\n- name: expiryInHours\n type: number\n default: 1\n- name: base64Encode\n type: boolean\n default: true\n- name: is1ESPipeline\n type: boolean\n default: false\n\nsteps:\n- ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - template: /eng/common/core-templates/steps/get-delegation-sas.yml\n parameters:\n federatedServiceConnection: ${{ parameters.federatedServiceConnection }}\n outputVariableName: ${{ parameters.outputVariableName }}\n expiryInHours: ${{ parameters.expiryInHours }}\n base64Encode: ${{ parameters.base64Encode }}\n storageAccount: dotnetbuilds\n container: internal\n permissions: rl\n is1ESPipeline: ${{ parameters.is1ESPipeline }} | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\enable-internal-runtimes.yml | enable-internal-runtimes.yml | YAML | 1,075 | 0.8 | 0.032258 | 0.066667 | python-kit | 958 | 2024-08-09T14:25:18.330030 | MIT | false | 15820aecac21e41d8fe8ae33b7869e75 |
parameters:\n# This is the Azure federated service connection that we log into to get an access token.\n- name: nugetFederatedServiceConnection\n type: string\n default: 'dnceng-artifacts-feeds-read'\n- name: is1ESPipeline\n type: boolean\n default: false\n# Legacy parameters to allow for PAT usage\n- name: legacyCredential\n type: string\n default: ''\n\nsteps:\n- ${{ if ne(variables['System.TeamProject'], 'public') }}:\n - ${{ if ne(parameters.legacyCredential, '') }}:\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token\n env:\n Token: ${{ parameters.legacyCredential }}\n # If running on dnceng (internal project), just use the default behavior for NuGetAuthenticate.\n # If running on DevDiv, NuGetAuthenticate is not really an option. It's scoped to a single feed, and we have many feeds that\n # may be added. Instead, we'll use the traditional approach (add cred to nuget.config), but use an account token.\n - ${{ else }}:\n - ${{ if eq(variables['System.TeamProject'], 'internal') }}:\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config\n - ${{ else }}:\n - template: /eng/common/templates/steps/get-federated-access-token.yml\n parameters:\n federatedServiceConnection: ${{ parameters.nugetFederatedServiceConnection }}\n outputVariableName: 'dnceng-artifacts-feeds-read-access-token'\n - task: PowerShell@2\n displayName: Setup Internal Feeds\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/SetupNugetSources.ps1\n arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $(dnceng-artifacts-feeds-read-access-token)\n # This is required in certain scenarios to install the ADO credential provider.\n # It installed by default in some msbuild invocations (e.g. VS msbuild), but needs to be installed for others\n # (e.g. dotnet msbuild).\n - task: NuGetAuthenticate@1\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\enable-internal-sources.yml | enable-internal-sources.yml | YAML | 2,253 | 0.95 | 0.12766 | 0.173913 | node-utils | 126 | 2024-04-10T19:30:16.847230 | MIT | false | 883470ba4d15bc9f92df66a9b8de2a94 |
# BuildDropPath - The root folder of the drop directory for which the manifest file will be generated.\n# PackageName - The name of the package this SBOM represents.\n# PackageVersion - The version of the package this SBOM represents. \n# ManifestDirPath - The path of the directory where the generated manifest files will be placed\n# IgnoreDirectories - Directories to ignore for SBOM generation. This will be passed through to the CG component detector.\n\nparameters:\n PackageVersion: 10.0.0\n BuildDropPath: '$(Build.SourcesDirectory)/artifacts'\n PackageName: '.NET'\n ManifestDirPath: $(Build.ArtifactStagingDirectory)/sbom\n IgnoreDirectories: ''\n sbomContinueOnError: true\n is1ESPipeline: false\n # disable publishArtifacts if some other step is publishing the artifacts (like job.yml).\n publishArtifacts: true\n\nsteps:\n- task: PowerShell@2 \n displayName: Prep for SBOM generation in (Non-linux)\n condition: or(eq(variables['Agent.Os'], 'Windows_NT'), eq(variables['Agent.Os'], 'Darwin'))\n inputs: \n filePath: ./eng/common/generate-sbom-prep.ps1\n arguments: ${{parameters.manifestDirPath}}\n\n# Chmodding is a workaround for https://github.com/dotnet/arcade/issues/8461\n- script: |\n chmod +x ./eng/common/generate-sbom-prep.sh\n ./eng/common/generate-sbom-prep.sh ${{parameters.manifestDirPath}}\n displayName: Prep for SBOM generation in (Linux)\n condition: eq(variables['Agent.Os'], 'Linux')\n continueOnError: ${{ parameters.sbomContinueOnError }}\n\n- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0\n displayName: 'Generate SBOM manifest'\n continueOnError: ${{ parameters.sbomContinueOnError }}\n inputs:\n PackageName: ${{ parameters.packageName }}\n BuildDropPath: ${{ parameters.buildDropPath }}\n PackageVersion: ${{ parameters.packageVersion }}\n ManifestDirPath: ${{ parameters.manifestDirPath }}/$(ARTIFACT_NAME)\n ${{ if ne(parameters.IgnoreDirectories, '') }}:\n AdditionalComponentDetectorArgs: '--IgnoreDirectories ${{ parameters.IgnoreDirectories }}'\n\n- ${{ if eq(parameters.publishArtifacts, 'true')}}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish SBOM manifest\n continueOnError: ${{parameters.sbomContinueOnError}}\n targetPath: '${{ parameters.manifestDirPath }}'\n artifactName: $(ARTIFACT_NAME)\n\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\generate-sbom.yml | generate-sbom.yml | YAML | 2,469 | 0.8 | 0.148148 | 0.145833 | awesome-app | 777 | 2023-09-25T13:48:16.531316 | BSD-3-Clause | false | dbbac2a8f4bdded9ffb1db449628226f |
parameters:\n- name: federatedServiceConnection\n type: string\n- name: outputVariableName\n type: string\n- name: expiryInHours\n type: number\n default: 1\n- name: base64Encode\n type: boolean\n default: false\n- name: storageAccount\n type: string\n- name: container\n type: string\n- name: permissions\n type: string\n default: 'rl'\n- name: is1ESPipeline\n type: boolean\n default: false\n\nsteps:\n- task: AzureCLI@2\n displayName: 'Generate delegation SAS Token for ${{ parameters.storageAccount }}/${{ parameters.container }}'\n inputs:\n azureSubscription: ${{ parameters.federatedServiceConnection }}\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n # Calculate the expiration of the SAS token and convert to UTC\n $expiry = (Get-Date).AddHours(${{ parameters.expiryInHours }}).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ")\n\n $sas = az storage container generate-sas --account-name ${{ parameters.storageAccount }} --name ${{ parameters.container }} --permissions ${{ parameters.permissions }} --expiry $expiry --auth-mode login --as-user -o tsv\n\n if ($LASTEXITCODE -ne 0) {\n Write-Error "Failed to generate SAS token."\n exit 1\n }\n\n if ('${{ parameters.base64Encode }}' -eq 'true') {\n $sas = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($sas))\n }\n\n Write-Host "Setting '${{ parameters.outputVariableName }}' with the access token value"\n Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true]$sas"\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\get-delegation-sas.yml | get-delegation-sas.yml | YAML | 1,561 | 0.8 | 0.065217 | 0.02439 | vue-tools | 683 | 2024-06-06T11:16:39.638746 | MIT | false | d5663dcacce1bc0f465949c2216227b3 |
parameters:\n- name: federatedServiceConnection\n type: string\n- name: outputVariableName\n type: string\n- name: is1ESPipeline\n type: boolean\n- name: stepName\n type: string\n default: 'getFederatedAccessToken'\n- name: condition\n type: string\n default: ''\n# Resource to get a token for. Common values include:\n# - '499b84ac-1321-427f-aa17-267ca6975798' for Azure DevOps\n# - 'https://storage.azure.com/' for storage\n# Defaults to Azure DevOps\n- name: resource\n type: string\n default: '499b84ac-1321-427f-aa17-267ca6975798'\n- name: isStepOutputVariable\n type: boolean\n default: false\n\nsteps:\n- task: AzureCLI@2\n displayName: 'Getting federated access token for feeds'\n name: ${{ parameters.stepName }}\n ${{ if ne(parameters.condition, '') }}:\n condition: ${{ parameters.condition }}\n inputs:\n azureSubscription: ${{ parameters.federatedServiceConnection }}\n scriptType: 'pscore'\n scriptLocation: 'inlineScript'\n inlineScript: |\n $accessToken = az account get-access-token --query accessToken --resource ${{ parameters.resource }} --output tsv\n if ($LASTEXITCODE -ne 0) {\n Write-Error "Failed to get access token for resource '${{ parameters.resource }}'"\n exit 1\n }\n Write-Host "Setting '${{ parameters.outputVariableName }}' with the access token value"\n Write-Host "##vso[task.setvariable variable=${{ parameters.outputVariableName }};issecret=true;isOutput=${{ parameters.isStepOutputVariable }}]$accessToken" | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\get-federated-access-token.yml | get-federated-access-token.yml | YAML | 1,474 | 0.8 | 0.170732 | 0.097561 | python-kit | 283 | 2024-12-21T16:42:33.540261 | BSD-3-Clause | false | bf47a20ee8f92b6d1e7c55eba3b6094b |
parameters:\n # Enable install tasks for MicroBuild\n enableMicrobuild: false\n # Enable install tasks for MicroBuild on Mac and Linux\n # Will be ignored if 'enableMicrobuild' is false or 'Agent.Os' is 'Windows_NT'\n enableMicrobuildForMacAndLinux: false\n # Location of the MicroBuild output folder\n microBuildOutputFolder: '$(Build.SourcesDirectory)'\n continueOnError: false\n\nsteps:\n - ${{ if eq(parameters.enableMicrobuild, 'true') }}:\n - ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:\n # Install Python 3.12.x on when Python > 3.12.x is installed - https://github.com/dotnet/source-build/issues/4802\n - script: |\n version=$(python3 --version | awk '{print $2}')\n major=$(echo $version | cut -d. -f1)\n minor=$(echo $version | cut -d. -f2)\n\n installPython=false\n if [ "$major" -gt 3 ] || { [ "$major" -eq 3 ] && [ "$minor" -gt 12 ]; }; then\n installPython=true\n fi\n\n echo "Python version: $version."\n echo "Install Python 3.12.x: $installPython."\n echo "##vso[task.setvariable variable=installPython;isOutput=true]$installPython"\n name: InstallPython\n displayName: 'Determine Python installation'\n condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))\n\n - task: UsePythonVersion@0\n inputs:\n versionSpec: '3.12.x'\n displayName: 'Use Python 3.12.x'\n condition: and(succeeded(), eq(variables['InstallPython.installPython'], 'true'), ne(variables['Agent.Os'], 'Windows_NT'))\n\n # Needed to download the MicroBuild plugin nupkgs on Mac and Linux when nuget.exe is unavailable\n - task: UseDotNet@2\n displayName: Install .NET 8.0 SDK for MicroBuild Plugin\n inputs:\n packageType: sdk\n version: 8.0.x\n installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet\n workingDirectory: ${{ parameters.microBuildOutputFolder }}\n condition: and(succeeded(), ne(variables['Agent.Os'], 'Windows_NT'))\n\n - task: MicroBuildSigningPlugin@4\n displayName: Install MicroBuild plugin\n inputs:\n signType: $(_SignType)\n zipSources: false\n feedSource: https://dnceng.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json\n ${{ if and(eq(parameters.enableMicrobuildForMacAndLinux, 'true'), ne(variables['Agent.Os'], 'Windows_NT')) }}:\n azureSubscription: 'MicroBuild Signing Task (DevDiv)'\n useEsrpCli: true\n env:\n TeamName: $(_TeamName)\n MicroBuildOutputFolderOverride: ${{ parameters.microBuildOutputFolder }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n continueOnError: ${{ parameters.continueOnError }}\n condition: and(\n succeeded(),\n or(\n and(\n eq(variables['Agent.Os'], 'Windows_NT'),\n in(variables['_SignType'], 'real', 'test')\n ),\n and(\n ${{ eq(parameters.enableMicrobuildForMacAndLinux, true) }},\n ne(variables['Agent.Os'], 'Windows_NT'),\n eq(variables['_SignType'], 'real')\n )\n ))\n\n # Workaround for ESRP CLI on Linux - https://github.com/dotnet/source-build/issues/4964\n - ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:\n - task: UseDotNet@2\n displayName: Install .NET 9.0 SDK for ESRP CLI Workaround\n inputs:\n packageType: sdk\n version: 9.0.x\n installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet\n workingDirectory: ${{ parameters.microBuildOutputFolder }}\n condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))\n\n - task: PowerShell@2\n displayName: Workaround for ESRP CLI on Linux\n inputs:\n targetType: 'inline'\n script: |\n Write-Host "Copying Linux Path"\n $MBSIGN_APPFOLDER = '$(MBSIGN_APPFOLDER)'\n $MBSIGN_APPFOLDER = $MBSIGN_APPFOLDER -replace '/build', ''\n $MBSIGN_APPFOLDER = $MBSIGN_APPFOLDER + '/1.1.1032' + '/build'\n $MBSIGN_APPFOLDER | Write-Host\n $SignConfigPath = $MBSIGN_APPFOLDER + '/signconfig.xml'\n Copy-Item -Path "$(MBSIGN_APPFOLDER)/signconfig.xml" -Destination $SignConfigPath -Force\n condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\install-microbuild.yml | install-microbuild.yml | YAML | 4,378 | 0.8 | 0.121212 | 0.076923 | awesome-app | 148 | 2024-04-15T23:36:51.360139 | Apache-2.0 | false | 3ec0223ad77c4520aaa8567347ee9f23 |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n- name: args\n type: object\n default: {}\nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - template: /eng/common/templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n ${{ each parameter in parameters.args }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n- ${{ else }}:\n - template: /eng/common/templates-official/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n ${{ each parameter in parameters.args }}:\n ${{ parameter.key }}: ${{ parameter.value }} | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\publish-build-artifacts.yml | publish-build-artifacts.yml | YAML | 667 | 0.7 | 0.052632 | 0 | react-lib | 268 | 2025-02-14T15:33:38.829180 | MIT | false | feba684771f230e02a2e3328b94305c9 |
parameters:\n StageLabel: ''\n JobLabel: ''\n CustomSensitiveDataList: ''\n # A default - in case value from eng/common/core-templates/post-build/common-variables.yml is not passed\n BinlogToolVersion: '1.0.11'\n is1ESPipeline: false\n\nsteps:\n- task: Powershell@2\n displayName: Prepare Binlogs to Upload\n inputs:\n targetType: inline\n script: |\n New-Item -ItemType Directory $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/\n Move-Item -Path $(Build.SourcesDirectory)/artifacts/log/Debug/* $(Build.SourcesDirectory)/PostBuildLogs/${{parameters.StageLabel}}/${{parameters.JobLabel}}/\n continueOnError: true\n condition: always()\n \n- task: PowerShell@2\n displayName: Redact Logs\n inputs:\n filePath: $(Build.SourcesDirectory)/eng/common/post-build/redact-logs.ps1\n # For now this needs to have explicit list of all sensitive data. Taken from eng/publishing/v3/publish.yml\n # Sensitive data can as well be added to $(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'\n # If the file exists - sensitive data for redaction will be sourced from it\n # (single entry per line, lines starting with '# ' are considered comments and skipped)\n arguments: -InputPath '$(Build.SourcesDirectory)/PostBuildLogs' \n -BinlogToolVersion ${{parameters.BinlogToolVersion}}\n -TokensFilePath '$(Build.SourcesDirectory)/eng/BinlogSecretsRedactionFile.txt'\n '$(publishing-dnceng-devdiv-code-r-build-re)'\n '$(MaestroAccessToken)'\n '$(dn-bot-all-orgs-artifact-feeds-rw)'\n '$(akams-client-id)'\n '$(microsoft-symbol-server-pat)'\n '$(symweb-symbol-server-pat)'\n '$(dnceng-symbol-server-pat)'\n '$(dn-bot-all-orgs-build-rw-code-rw)'\n '$(System.AccessToken)'\n ${{parameters.CustomSensitiveDataList}}\n continueOnError: true\n condition: always()\n\n- task: CopyFiles@2\n displayName: Gather post build logs\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)/PostBuildLogs'\n Contents: '**'\n TargetFolder: '$(Build.ArtifactStagingDirectory)/PostBuildLogs'\n condition: always()\n\n- template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish Logs\n pathToPublish: '$(Build.ArtifactStagingDirectory)/PostBuildLogs'\n publishLocation: Container\n artifactName: PostBuildLogs\n continueOnError: true\n condition: always()\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\publish-logs.yml | publish-logs.yml | YAML | 2,476 | 0.8 | 0.016393 | 0.087719 | vue-tools | 991 | 2024-03-18T20:28:49.794059 | BSD-3-Clause | false | 6413c0bf1115836dd70fdf18e8b51aae |
parameters:\n- name: is1ESPipeline\n type: boolean\n default: false\n\n- name: args\n type: object\n default: {} \n\nsteps:\n- ${{ if ne(parameters.is1ESPipeline, true) }}:\n - template: /eng/common/templates/steps/publish-pipeline-artifacts.yml\n parameters:\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n- ${{ else }}:\n - template: /eng/common/templates-official/steps/publish-pipeline-artifacts.yml\n parameters:\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\publish-pipeline-artifacts.yml | publish-pipeline-artifacts.yml | YAML | 562 | 0.7 | 0.05 | 0 | vue-tools | 199 | 2024-08-16T21:03:21.586730 | MIT | false | 570b148d4f7f1bff4bc28cb7813bb7e4 |
parameters:\n # Optional azure devops PAT with build execute permissions for the build's organization,\n # only needed if the build that should be retained ran on a different organization than \n # the pipeline where this template is executing from\n Token: ''\n # Optional BuildId to retain, defaults to the current running build\n BuildId: ''\n # Azure devops Organization URI for the build in the https://dev.azure.com/<organization> format.\n # Defaults to the organization the current pipeline is running on\n AzdoOrgUri: '$(System.CollectionUri)'\n # Azure devops project for the build. Defaults to the project the current pipeline is running on\n AzdoProject: '$(System.TeamProject)'\n\nsteps:\n - task: powershell@2\n inputs:\n targetType: 'filePath'\n filePath: eng/common/retain-build.ps1\n pwsh: true\n arguments: >\n -AzdoOrgUri: ${{parameters.AzdoOrgUri}}\n -AzdoProject ${{parameters.AzdoProject}}\n -Token ${{coalesce(parameters.Token, '$env:SYSTEM_ACCESSTOKEN') }}\n -BuildId ${{coalesce(parameters.BuildId, '$env:BUILD_ID')}}\n displayName: Enable permanent build retention\n env:\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n BUILD_ID: $(Build.BuildId) | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\retain-build.yml | retain-build.yml | YAML | 1,222 | 0.8 | 0.148148 | 0.259259 | python-kit | 408 | 2024-07-17T14:48:30.066012 | BSD-3-Clause | false | c72408867a31f8ab09d692e0c2221a29 |
# Please remember to update the documentation if you make changes to these parameters!\nparameters:\n HelixSource: 'pr/default' # required -- sources must start with pr/, official/, prodcon/, or agent/\n HelixType: 'tests/default/' # required -- Helix telemetry which identifies what type of data this is; should include "test" for clarity and must end in '/'\n HelixBuild: $(Build.BuildNumber) # required -- the build number Helix will use to identify this -- automatically set to the AzDO build number\n HelixTargetQueues: '' # required -- semicolon-delimited list of Helix queues to test on; see https://helix.dot.net/ for a list of queues\n HelixAccessToken: '' # required -- access token to make Helix API requests; should be provided by the appropriate variable group\n HelixProjectPath: 'eng/common/helixpublish.proj' # optional -- path to the project file to build relative to BUILD_SOURCESDIRECTORY\n HelixProjectArguments: '' # optional -- arguments passed to the build command\n HelixConfiguration: '' # optional -- additional property attached to a job\n HelixPreCommands: '' # optional -- commands to run before Helix work item execution\n HelixPostCommands: '' # optional -- commands to run after Helix work item execution\n WorkItemDirectory: '' # optional -- a payload directory to zip up and send to Helix; requires WorkItemCommand; incompatible with XUnitProjects\n WorkItemCommand: '' # optional -- a command to execute on the payload; requires WorkItemDirectory; incompatible with XUnitProjects\n WorkItemTimeout: '' # optional -- a timeout in TimeSpan.Parse-ready value (e.g. 00:02:00) for the work item command; requires WorkItemDirectory; incompatible with XUnitProjects\n CorrelationPayloadDirectory: '' # optional -- a directory to zip up and send to Helix as a correlation payload\n XUnitProjects: '' # optional -- semicolon-delimited list of XUnitProjects to parse and send to Helix; requires XUnitRuntimeTargetFramework, XUnitPublishTargetFramework, XUnitRunnerVersion, and IncludeDotNetCli=true\n XUnitWorkItemTimeout: '' # optional -- the workitem timeout in seconds for all workitems created from the xUnit projects specified by XUnitProjects\n XUnitPublishTargetFramework: '' # optional -- framework to use to publish your xUnit projects\n XUnitRuntimeTargetFramework: '' # optional -- framework to use for the xUnit console runner\n XUnitRunnerVersion: '' # optional -- version of the xUnit nuget package you wish to use on Helix; required for XUnitProjects\n IncludeDotNetCli: false # optional -- true will download a version of the .NET CLI onto the Helix machine as a correlation payload; requires DotNetCliPackageType and DotNetCliVersion\n DotNetCliPackageType: '' # optional -- either 'sdk', 'runtime' or 'aspnetcore-runtime'; determines whether the sdk or runtime will be sent to Helix; see https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases-index.json\n DotNetCliVersion: '' # optional -- version of the CLI to send to Helix; based on this: https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases-index.json\n WaitForWorkItemCompletion: true # optional -- true will make the task wait until work items have been completed and fail the build if work items fail. False is "fire and forget."\n IsExternal: false # [DEPRECATED] -- doesn't do anything, jobs are external if HelixAccessToken is empty and Creator is set\n HelixBaseUri: 'https://helix.dot.net/' # optional -- sets the Helix API base URI (allows targeting https://helix.int-dot.net )\n Creator: '' # optional -- if the build is external, use this to specify who is sending the job\n DisplayNamePrefix: 'Run Tests' # optional -- rename the beginning of the displayName of the steps in AzDO \n condition: succeeded() # optional -- condition for step to execute; defaults to succeeded()\n continueOnError: false # optional -- determines whether to continue the build if the step errors; defaults to false\n\nsteps:\n - powershell: 'powershell "$env:BUILD_SOURCESDIRECTORY\eng\common\msbuild.ps1 $env:BUILD_SOURCESDIRECTORY/${{ parameters.HelixProjectPath }} /restore /p:TreatWarningsAsErrors=false ${{ parameters.HelixProjectArguments }} /t:Test /bl:$env:BUILD_SOURCESDIRECTORY\artifacts\log\$env:BuildConfig\SendToHelix.binlog"'\n displayName: ${{ parameters.DisplayNamePrefix }} (Windows)\n env:\n BuildConfig: $(_BuildConfig)\n HelixSource: ${{ parameters.HelixSource }}\n HelixType: ${{ parameters.HelixType }}\n HelixBuild: ${{ parameters.HelixBuild }}\n HelixConfiguration: ${{ parameters.HelixConfiguration }}\n HelixTargetQueues: ${{ parameters.HelixTargetQueues }}\n HelixAccessToken: ${{ parameters.HelixAccessToken }}\n HelixPreCommands: ${{ parameters.HelixPreCommands }}\n HelixPostCommands: ${{ parameters.HelixPostCommands }}\n WorkItemDirectory: ${{ parameters.WorkItemDirectory }}\n WorkItemCommand: ${{ parameters.WorkItemCommand }}\n WorkItemTimeout: ${{ parameters.WorkItemTimeout }}\n CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }}\n XUnitProjects: ${{ parameters.XUnitProjects }}\n XUnitWorkItemTimeout: ${{ parameters.XUnitWorkItemTimeout }}\n XUnitPublishTargetFramework: ${{ parameters.XUnitPublishTargetFramework }}\n XUnitRuntimeTargetFramework: ${{ parameters.XUnitRuntimeTargetFramework }}\n XUnitRunnerVersion: ${{ parameters.XUnitRunnerVersion }}\n IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}\n DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}\n DotNetCliVersion: ${{ parameters.DotNetCliVersion }}\n WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}\n HelixBaseUri: ${{ parameters.HelixBaseUri }}\n Creator: ${{ parameters.Creator }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n condition: and(${{ parameters.condition }}, eq(variables['Agent.Os'], 'Windows_NT'))\n continueOnError: ${{ parameters.continueOnError }}\n - script: $BUILD_SOURCESDIRECTORY/eng/common/msbuild.sh $BUILD_SOURCESDIRECTORY/${{ parameters.HelixProjectPath }} /restore /p:TreatWarningsAsErrors=false ${{ parameters.HelixProjectArguments }} /t:Test /bl:$BUILD_SOURCESDIRECTORY/artifacts/log/$BuildConfig/SendToHelix.binlog\n displayName: ${{ parameters.DisplayNamePrefix }} (Unix)\n env:\n BuildConfig: $(_BuildConfig)\n HelixSource: ${{ parameters.HelixSource }}\n HelixType: ${{ parameters.HelixType }}\n HelixBuild: ${{ parameters.HelixBuild }}\n HelixConfiguration: ${{ parameters.HelixConfiguration }}\n HelixTargetQueues: ${{ parameters.HelixTargetQueues }}\n HelixAccessToken: ${{ parameters.HelixAccessToken }}\n HelixPreCommands: ${{ parameters.HelixPreCommands }}\n HelixPostCommands: ${{ parameters.HelixPostCommands }}\n WorkItemDirectory: ${{ parameters.WorkItemDirectory }}\n WorkItemCommand: ${{ parameters.WorkItemCommand }}\n WorkItemTimeout: ${{ parameters.WorkItemTimeout }}\n CorrelationPayloadDirectory: ${{ parameters.CorrelationPayloadDirectory }}\n XUnitProjects: ${{ parameters.XUnitProjects }}\n XUnitWorkItemTimeout: ${{ parameters.XUnitWorkItemTimeout }}\n XUnitPublishTargetFramework: ${{ parameters.XUnitPublishTargetFramework }}\n XUnitRuntimeTargetFramework: ${{ parameters.XUnitRuntimeTargetFramework }}\n XUnitRunnerVersion: ${{ parameters.XUnitRunnerVersion }}\n IncludeDotNetCli: ${{ parameters.IncludeDotNetCli }}\n DotNetCliPackageType: ${{ parameters.DotNetCliPackageType }}\n DotNetCliVersion: ${{ parameters.DotNetCliVersion }}\n WaitForWorkItemCompletion: ${{ parameters.WaitForWorkItemCompletion }}\n HelixBaseUri: ${{ parameters.HelixBaseUri }}\n Creator: ${{ parameters.Creator }}\n SYSTEM_ACCESSTOKEN: $(System.AccessToken)\n condition: and(${{ parameters.condition }}, ne(variables['Agent.Os'], 'Windows_NT'))\n continueOnError: ${{ parameters.continueOnError }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\send-to-helix.yml | send-to-helix.yml | YAML | 8,338 | 0.95 | 0.129032 | 0.01087 | awesome-app | 819 | 2025-05-26T16:08:09.767245 | BSD-3-Clause | false | 03685e4405364b8381a998eba854d1ac |
parameters:\n # This template adds arcade-powered source-build to CI.\n\n # This is a 'steps' template, and is intended for advanced scenarios where the existing build\n # infra has a careful build methodology that must be followed. For example, a repo\n # (dotnet/runtime) might choose to clone the GitHub repo only once and store it as a pipeline\n # artifact for all subsequent jobs to use, to reduce dependence on a strong network connection to\n # GitHub. Using this steps template leaves room for that infra to be included.\n\n # Defines the platform on which to run the steps. See 'eng/common/core-templates/job/source-build.yml'\n # for details. The entire object is described in the 'job' template for simplicity, even though\n # the usage of the properties on this object is split between the 'job' and 'steps' templates.\n platform: {}\n is1ESPipeline: false\n\nsteps:\n# Build. Keep it self-contained for simple reusability. (No source-build-specific job variables.)\n- script: |\n set -x\n df -h\n\n # If file changes are detected, set CopyWipIntoInnerSourceBuildRepo to copy the WIP changes into the inner source build repo.\n internalRestoreArgs=\n if ! git diff --quiet; then\n internalRestoreArgs='/p:CopyWipIntoInnerSourceBuildRepo=true'\n # The 'Copy WIP' feature of source build uses git stash to apply changes from the original repo.\n # This only works if there is a username/email configured, which won't be the case in most CI runs.\n git config --get user.email\n if [ $? -ne 0 ]; then\n git config user.email dn-bot@microsoft.com\n git config user.name dn-bot\n fi\n fi\n\n # If building on the internal project, the internal storage variable may be available (usually only if needed)\n # In that case, add variables to allow the download of internal runtimes if the specified versions are not found\n # in the default public locations.\n internalRuntimeDownloadArgs=\n if [ '$(dotnetbuilds-internal-container-read-token-base64)' != '$''(dotnetbuilds-internal-container-read-token-base64)' ]; then\n internalRuntimeDownloadArgs='/p:DotNetRuntimeSourceFeed=https://ci.dot.net/internal /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64) --runtimesourcefeed https://ci.dot.net/internal --runtimesourcefeedkey $(dotnetbuilds-internal-container-read-token-base64)'\n fi\n\n buildConfig=Release\n # Check if AzDO substitutes in a build config from a variable, and use it if so.\n if [ '$(_BuildConfig)' != '$''(_BuildConfig)' ]; then\n buildConfig='$(_BuildConfig)'\n fi\n\n officialBuildArgs=\n if [ '${{ and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}' = 'True' ]; then\n officialBuildArgs='/p:DotNetPublishUsingPipelines=true /p:OfficialBuildId=$(BUILD.BUILDNUMBER)'\n fi\n\n targetRidArgs=\n if [ '${{ parameters.platform.targetRID }}' != '' ]; then\n targetRidArgs='/p:TargetRid=${{ parameters.platform.targetRID }}'\n fi\n\n runtimeOsArgs=\n if [ '${{ parameters.platform.runtimeOS }}' != '' ]; then\n runtimeOsArgs='/p:RuntimeOS=${{ parameters.platform.runtimeOS }}'\n fi\n\n baseOsArgs=\n if [ '${{ parameters.platform.baseOS }}' != '' ]; then\n baseOsArgs='/p:BaseOS=${{ parameters.platform.baseOS }}'\n fi\n\n publishArgs=\n if [ '${{ parameters.platform.skipPublishValidation }}' != 'true' ]; then\n publishArgs='--publish'\n fi\n\n assetManifestFileName=SourceBuild_RidSpecific.xml\n if [ '${{ parameters.platform.name }}' != '' ]; then\n assetManifestFileName=SourceBuild_${{ parameters.platform.name }}.xml\n fi\n\n portableBuildArgs=\n if [ '${{ parameters.platform.portableBuild }}' != '' ]; then\n portableBuildArgs='/p:PortableBuild=${{ parameters.platform.portableBuild }}'\n fi\n\n ${{ coalesce(parameters.platform.buildScript, './build.sh') }} --ci \\n --configuration $buildConfig \\n --restore --build --pack $publishArgs -bl \\n $officialBuildArgs \\n $internalRuntimeDownloadArgs \\n $internalRestoreArgs \\n $targetRidArgs \\n $runtimeOsArgs \\n $baseOsArgs \\n $portableBuildArgs \\n /p:DotNetBuildSourceOnly=true \\n /p:DotNetBuildRepo=true \\n /p:AssetManifestFileName=$assetManifestFileName\n displayName: Build\n\n# Upload build logs for diagnosis.\n- task: CopyFiles@2\n displayName: Prepare BuildLogs staging directory\n inputs:\n SourceFolder: '$(Build.SourcesDirectory)'\n Contents: |\n **/*.log\n **/*.binlog\n artifacts/sb/prebuilt-report/**\n TargetFolder: '$(Build.StagingDirectory)/BuildLogs'\n CleanTargetFolder: true\n continueOnError: true\n condition: succeededOrFailed()\n\n- template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n args:\n displayName: Publish BuildLogs\n targetPath: '$(Build.StagingDirectory)/BuildLogs'\n artifactName: BuildLogs_SourceBuild_${{ parameters.platform.name }}_Attempt$(System.JobAttempt)\n continueOnError: true\n condition: succeededOrFailed()\n sbomEnabled: false # we don't need SBOM for logs\n\n# Manually inject component detection so that we can ignore the source build upstream cache, which contains\n# a nupkg cache of input packages (a local feed).\n# This path must match the upstream cache path in property 'CurrentRepoSourceBuiltNupkgCacheDir'\n# in src\Microsoft.DotNet.Arcade.Sdk\tools\SourceBuild\SourceBuildArcade.targets\n- template: /eng/common/core-templates/steps/component-governance.yml\n parameters:\n displayName: Component Detection (Exclude upstream cache)\n is1ESPipeline: ${{ parameters.is1ESPipeline }}\n componentGovernanceIgnoreDirectories: '$(Build.SourcesDirectory)/artifacts/sb/src/artifacts/obj/source-built-upstream-cache'\n disableComponentGovernance: ${{ eq(variables['System.TeamProject'], 'public') }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\source-build.yml | source-build.yml | YAML | 5,935 | 0.8 | 0.180451 | 0.206897 | vue-tools | 439 | 2024-10-04T08:45:30.471295 | Apache-2.0 | false | 8d6fe2e8e533ad7031e5c8133ea5252c |
parameters:\n sourceIndexUploadPackageVersion: 2.0.0-20240522.1\n sourceIndexProcessBinlogPackageVersion: 1.0.1-20240522.1\n sourceIndexPackageSource: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json\n binlogPath: artifacts/log/Debug/Build.binlog\n\nsteps:\n- task: UseDotNet@2\n displayName: "Source Index: Use .NET 8 SDK"\n inputs:\n packageType: sdk\n version: 8.0.x\n installationPath: $(Agent.TempDirectory)/dotnet\n workingDirectory: $(Agent.TempDirectory)\n\n- script: |\n $(Agent.TempDirectory)/dotnet/dotnet tool install BinLogToSln --version ${{parameters.sourceIndexProcessBinlogPackageVersion}} --add-source ${{parameters.SourceIndexPackageSource}} --tool-path $(Agent.TempDirectory)/.source-index/tools\n $(Agent.TempDirectory)/dotnet/dotnet tool install UploadIndexStage1 --version ${{parameters.sourceIndexUploadPackageVersion}} --add-source ${{parameters.SourceIndexPackageSource}} --tool-path $(Agent.TempDirectory)/.source-index/tools\n displayName: "Source Index: Download netsourceindex Tools"\n # Set working directory to temp directory so 'dotnet' doesn't try to use global.json and use the repo's sdk.\n workingDirectory: $(Agent.TempDirectory)\n\n- script: $(Agent.TempDirectory)/.source-index/tools/BinLogToSln -i ${{parameters.BinlogPath}} -r $(Build.SourcesDirectory) -n $(Build.Repository.Name) -o .source-index/stage1output\n displayName: "Source Index: Process Binlog into indexable sln"\n\n- ${{ if and(ne(parameters.runAsPublic, 'true'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:\n - task: AzureCLI@2\n displayName: "Source Index: Upload Source Index stage1 artifacts to Azure"\n inputs:\n azureSubscription: 'SourceDotNet Stage1 Publish'\n addSpnToEnvironment: true\n scriptType: 'ps'\n scriptLocation: 'inlineScript'\n inlineScript: |\n $(Agent.TempDirectory)/.source-index/tools/UploadIndexStage1 -i .source-index/stage1output -n $(Build.Repository.Name) -s netsourceindexstage1 -b stage1\n | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\steps\source-index-stage1-publish.yml | source-index-stage1-publish.yml | YAML | 2,051 | 0.8 | 0.057143 | 0.032258 | react-lib | 945 | 2024-11-24T08:53:01.411757 | BSD-3-Clause | false | 41b5bd5feaf669f805503cc12839fcf1 |
parameters:\n is1ESPipeline: false\n\nvariables:\n - ${{ if eq(parameters.is1ESPipeline, 'true') }}:\n - template: /eng/common/templates-official/variables/pool-providers.yml\n - ${{ else }}:\n - template: /eng/common/templates/variables/pool-providers.yml | dataset_sample\yaml\dotnet_wpf\eng\common\core-templates\variables\pool-providers.yml | pool-providers.yml | YAML | 258 | 0.7 | 0.142857 | 0 | python-kit | 122 | 2023-09-15T03:10:39.595796 | Apache-2.0 | false | 793646b194eb9a9ffaae4e91c8ad6132 |
parameters: \n enablePublishBuildArtifacts: false\n disableComponentGovernance: ''\n componentGovernanceIgnoreDirectories: ''\n# Sbom related params\n enableSbom: true\n runAsPublic: false\n PackageVersion: 9.0.0\n BuildDropPath: '$(Build.SourcesDirectory)/artifacts'\n\njobs:\n- template: /eng/common/core-templates/job/job.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ if and(ne(parameter.key, 'steps'), ne(parameter.key, 'is1ESPipeline')) }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n\n steps:\n - ${{ each step in parameters.steps }}:\n - ${{ step }}\n\n componentGovernanceSteps:\n - template: /eng/common/templates/steps/component-governance.yml\n parameters:\n ${{ if eq(parameters.disableComponentGovernance, '') }}:\n ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), eq(parameters.runAsPublic, 'false'), or(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/dotnet/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/microsoft/'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:\n disableComponentGovernance: false\n ${{ else }}:\n disableComponentGovernance: true\n ${{ else }}:\n disableComponentGovernance: ${{ parameters.disableComponentGovernance }}\n componentGovernanceIgnoreDirectories: ${{ parameters.componentGovernanceIgnoreDirectories }}\n\n artifactPublishSteps:\n - ${{ if ne(parameters.artifacts.publish, '') }}:\n - ${{ if and(ne(parameters.artifacts.publish.artifacts, 'false'), ne(parameters.artifacts.publish.artifacts, '')) }}:\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n displayName: Publish pipeline artifacts\n pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts'\n publishLocation: Container\n artifactName: ${{ coalesce(parameters.artifacts.publish.artifacts.name , 'Artifacts_$(Agent.Os)_$(_BuildConfig)') }}\n continueOnError: true\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n - ${{ if and(ne(parameters.artifacts.publish.logs, 'false'), ne(parameters.artifacts.publish.logs, '')) }}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n targetPath: '$(Build.ArtifactStagingDirectory)/artifacts/log'\n artifactName: ${{ coalesce(parameters.artifacts.publish.logs.name, 'Logs_Build_$(Agent.Os)_$(_BuildConfig)') }}\n displayName: 'Publish logs'\n continueOnError: true\n condition: always()\n retryCountOnTaskFailure: 10 # for any logs being locked\n sbomEnabled: false # we don't need SBOM for logs\n\n - ${{ if ne(parameters.enablePublishBuildArtifacts, 'false') }}:\n - template: /eng/common/core-templates/steps/publish-build-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n displayName: Publish Logs\n pathToPublish: '$(Build.ArtifactStagingDirectory)/artifacts/log/$(_BuildConfig)'\n publishLocation: Container\n artifactName: ${{ coalesce(parameters.enablePublishBuildArtifacts.artifactName, '$(Agent.Os)_$(Agent.JobName)_Attempt$(System.JobAttempt)' ) }}\n continueOnError: true\n condition: always()\n\n - ${{ if eq(parameters.enableBuildRetry, 'true') }}:\n - template: /eng/common/core-templates/steps/publish-pipeline-artifacts.yml\n parameters:\n is1ESPipeline: false\n args:\n targetPath: '$(Build.SourcesDirectory)\eng\common\BuildConfiguration'\n artifactName: 'BuildConfiguration'\n displayName: 'Publish build retry configuration'\n continueOnError: true\n sbomEnabled: false # we don't need SBOM for BuildConfiguration\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\job\job.yml | job.yml | YAML | 4,179 | 0.8 | 0.142857 | 0.012987 | react-lib | 291 | 2025-01-31T21:53:03.345206 | BSD-3-Clause | false | 7fccc5e383baf728dc3b2a60758ab3f2 |
jobs:\n- template: /eng/common/core-templates/job/onelocbuild.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\job\onelocbuild.yml | onelocbuild.yml | YAML | 197 | 0.7 | 0 | 0 | vue-tools | 939 | 2024-07-12T11:08:00.145972 | Apache-2.0 | false | a155825079e639d7026dbb4c77834f60 |
jobs:\n- template: /eng/common/core-templates/job/publish-build-assets.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\job\publish-build-assets.yml | publish-build-assets.yml | YAML | 206 | 0.7 | 0 | 0 | python-kit | 125 | 2024-12-23T03:19:34.395047 | Apache-2.0 | false | 86a89d7ce1e02d800846022a7bcb4f99 |
jobs:\n- template: /eng/common/core-templates/job/source-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\job\source-build.yml | source-build.yml | YAML | 198 | 0.7 | 0 | 0 | vue-tools | 389 | 2025-06-13T08:14:26.336745 | GPL-3.0 | false | 5ad5c584e4e87389998f7f2421e1909d |
jobs:\n- template: /eng/common/core-templates/job/source-index-stage1.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\job\source-index-stage1.yml | source-index-stage1.yml | YAML | 205 | 0.7 | 0 | 0 | awesome-app | 322 | 2024-05-18T07:54:41.245684 | GPL-3.0 | false | 644f492719c7aa5b72229f6a48d30ea6 |
jobs:\n- template: /eng/common/core-templates/jobs/codeql-build.yml\n parameters:\n is1ESPipeline: false\n\n ${{ each parameter in parameters }}:\n ${{ parameter.key }}: ${{ parameter.value }}\n | dataset_sample\yaml\dotnet_wpf\eng\common\templates\jobs\codeql-build.yml | codeql-build.yml | YAML | 199 | 0.7 | 0 | 0 | node-utils | 332 | 2024-12-16T22:42:46.711512 | GPL-3.0 | false | 5a4641afeb1d1002bb374a73bf3097fb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.