From ecb8ef1c116ed84795bdfe81104172a6d59365de Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 8 Jun 2022 23:28:56 +0000 Subject: [PATCH 01/17] [wasm] Add support for per-project customization of helix work items Currently, for sending tests to helix: 1. the project binaries are zipped, as part of the project build 2. then separate helix targets files build that adds helix items for those zip files. - for wasm, we test with multiple 'scenarios' - like v8, browser, and nodejs. - so, 3 helix work items are submitted per zip file - If a test project needs to have any customizations, for example, for testing crypto with a managed implementation, and subtlecrypto, which would require: - passing different arguments to xharness, in case of managed, and subtlecrypto - and this should be done only for the browser case - Currently, this would need this would need to be done in `sendtohelix-wasm.targets` special casing for the test project, and scenario. - We add support for importing `$(ProjectName).helix.targets`, and calling a special target in that to add helix items, as needed. - This targets file can be set in the test project like: ```xml wasm.helix.targets ``` - it will get deployed next to the zip file, and picked up automatically ```xml <_CryptoProjectName>System.Security.Cryptography.Tests System_Security_Cryptography_Tests_Targ et $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) set "WasmXHarnessArgs=--web-server-use-cors" export "WasmXHarnessArgs=--web-server-use-cors" ``` - The targets file *must* have these: - a property named like `System_Security_Cryptography_Tests_TargetName`, for a test project named `System.Security.Cryptography.Tests` - if this property is not set, then the default behavior of adding work items will run - The target should add any items it needs to to `@(HelixWorkItem)`. - Examples of adding these can be seen in `sendtohelix*` project files - Remember that all these properties, and targets get imported into the msbuild *global* namespace, so make sure to use unique names to avoid conflicts with other test projects. Future work: this commit only enables it for wasm/library tests, but it should be easy to extract it out, but needs some testing. --- eng/testing/tests.wasm.targets | 4 ++++ src/libraries/sendtohelix-wasm.targets | 33 +++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/eng/testing/tests.wasm.targets b/eng/testing/tests.wasm.targets index 7f5cdb654efe6..af8e6beea036f 100644 --- a/eng/testing/tests.wasm.targets +++ b/eng/testing/tests.wasm.targets @@ -299,4 +299,8 @@ + + + + diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 168d97a6afc2b..dd6e810df78f1 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -11,7 +11,7 @@ $(BuildHelixWorkItemsDependsOn);StageEmSdkForHelix;PrepareForBuildHelixWorkItems_Wasm $(BuildHelixWorkItemsDependsOn);DownloadFirefoxToSendToHelix false - false + false $(RepositoryEngineeringDir)\testing\scenarios\BuildWasmAppsJobsList.txt @@ -32,6 +32,8 @@ true + + <_HelixLocalNodePath Condition="'$(NeedsEMSDKNode)' == 'true' and '$(WindowsShell)' != 'true'">$HELIX_CORRELATION_PAYLOAD/build/emsdk-node <_HelixLocalNodePath Condition="'$(NeedsEMSDKNode)' == 'true' and '$(WindowsShell)' == 'true'">%HELIX_CORRELATION_PAYLOAD%\build\emsdk-node @@ -194,7 +196,27 @@ $(HelixCommand) $(_workItemTimeout) + + + <_TestWithCustomTarget Include="$(TestArchiveTestsDir)\*.helix.targets" /> + <_TestWithCustomTarget + TestName="$([System.IO.Path]::GetFileNameWithoutExtension(%(FileName)))" + ArchivePath="$([System.String]::new(%(Identity)).Replace('.helix.targets', '.zip'))" /> + + + <_TestWithCustomTarget PropertyName="$([System.String]::new(%(TestName)).Replace('.', '_').Replace('-', '_'))_TargetName" /> + + + <_TestWithCustomTarget Remove="@(_TestWithCustomTarget)" Condition="'$(%(_TestWithCustomTarget.PropertyName))' == ''" /> + + + + @@ -232,6 +254,15 @@ $(HelixCommand) $(_workItemTimeout) + + <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload);@(_TestWithCustomTarget->'%(ArchivePath)')" /> + + + %(Identity) + $(HelixCommand) + $(_workItemTimeout) + + From a789d5da337f9ce491ac922cda90f2945d1f3852 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 8 Jun 2022 23:29:58 +0000 Subject: [PATCH 02/17] [wasm] Helix: test with, and without subtle crypto --- .../System.Security.Cryptography.Tests.csproj | 6 ++--- .../tests/wasm.helix.targets | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 src/libraries/System.Security.Cryptography/tests/wasm.helix.targets diff --git a/src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj b/src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj index f8e1b4697b804..18ac02d424878 100644 --- a/src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj +++ b/src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj @@ -6,13 +6,11 @@ true true - - WasmTestOnBrowser - $(WasmXHarnessArgs) --web-server-use-cop - $([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) + + wasm.helix.targets true diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets new file mode 100644 index 0000000000000..2c2157c200ec1 --- /dev/null +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -0,0 +1,25 @@ + + + <_CryptoProjectName>System.Security.Cryptography.Tests + System_Security_Cryptography_Tests_Target + + + + + + $(TestArchiveTestsDir)$(_CryptoProjectName).zip + $(HelixCommand) + $(_workItemTimeout) + + + + $(TestArchiveTestsDir)$(_CryptoProjectName).zip + $(HelixCommand) + $(_workItemTimeout) + + set "WasmXHarnessArgs=--web-server-use-cors" + export "WasmXHarnessArgs=--web-server-use-cors" + + + + From 7ef99e81f82200189dd3f61eeaf00d6ca4ced6d4 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 8 Jun 2022 23:27:29 +0000 Subject: [PATCH 03/17] disable non-wasm builds --- eng/pipelines/common/platform-matrix.yml | 1660 +++++++++++----------- eng/testing/tests.mobile.targets | 4 + eng/testing/tests.wasm.targets | 4 - src/libraries/sendtohelix-wasm.targets | 1 - 4 files changed, 834 insertions(+), 835 deletions(-) diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml index e28badbbb417b..5795222b9eb7a 100644 --- a/eng/pipelines/common/platform-matrix.yml +++ b/eng/pipelines/common/platform-matrix.yml @@ -29,332 +29,332 @@ parameters: jobs: # Linux arm -- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: arm - targetRid: linux-arm - platform: Linux_arm - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-cross-arm-20220426130400-6e40d49 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/arm' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux armv6 -- ${{ if containsValue(parameters.platforms, 'Linux_armv6') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: armv6 - targetRid: linux-armv6 - platform: Linux_armv6 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-20.04-cross-armv6-raspbian-10-20211208135931-e6e3ac4 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/armv6' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux arm64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: arm64 - targetRid: linux-arm64 - platform: Linux_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - ${{ if eq(parameters.container, '') }}: - image: ubuntu-18.04-cross-arm64-20220427171722-6e40d49 - ${{ if ne(parameters.container, '') }}: - image: ${{ parameters.container }} - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/arm64' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux musl x64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - osSubgroup: _musl - archType: x64 - targetRid: linux-musl-x64 - platform: Linux_musl_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: alpine-3.13-WithNode-20210910135845-c401c85 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux musl arm - -- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm'), eq(parameters.platformGroup, 'all')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - osSubgroup: _musl - archType: arm - targetRid: linux-musl-arm - platform: Linux_musl_arm - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-16.04-cross-arm-alpine-20210923140502-78f7860 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/arm' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux musl arm64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - osSubgroup: _musl - archType: arm64 - targetRid: linux-musl-arm64 - platform: Linux_musl_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-16.04-cross-arm64-alpine-20210923140502-78f7860 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/arm64' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux Bionic arm64 - -- ${{ if containsValue(parameters.platforms, 'Linux_bionic_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - osSubgroup: _bionic - archType: arm64 - targetRid: linux-bionic-arm64 - platform: Linux_bionic_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - # We build on Linux, but the test queue runs Windows, so - # we need to override the test script generation - runScriptWindowsCmd: true - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux Bionic x64 - -- ${{ if containsValue(parameters.platforms, 'Linux_bionic_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - osSubgroup: _bionic - archType: x64 - targetRid: linux-bionic-x64 - platform: Linux_bionic_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux x64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), containsValue(parameters.platforms, 'CoreClrTestBuildHost'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: x64 - targetRid: linux-x64 - platform: Linux_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - ${{ if eq(parameters.container, '') }}: - image: centos-7-20210714125435-9b5bbc2 - ${{ if ne(parameters.container, '') }}: - image: ${{ parameters.container }} - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux x86 - -- ${{ if containsValue(parameters.platforms, 'Linux_x86') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: x86 - targetRid: linux-x86 - platform: Linux_x86 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-cross-x86-linux-20211022152824-f853169 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/x86' - disableClrTest: true - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux x64 Source Build - -- ${{ if containsValue(parameters.platforms, 'SourceBuild_Linux_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: x64 - targetRid: linux-x64 - platform: Linux_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: centos-7-source-build-20210714125450-5d87b80 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - buildingOnSourceBuildImage: true - -# Linux s390x - -- ${{ if containsValue(parameters.platforms, 'Linux_s390x') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Linux - archType: s390x - targetRid: linux-s390x - platform: Linux_s390x - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-cross-s390x-20201102145728-d6e0352 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/s390x' - ${{ insert }}: ${{ parameters.jobParameters }} +#- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: arm + #targetRid: linux-arm + #platform: Linux_arm + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-cross-arm-20220426130400-6e40d49 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/arm' + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux armv6 +#- ${{ if containsValue(parameters.platforms, 'Linux_armv6') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: armv6 + #targetRid: linux-armv6 + #platform: Linux_armv6 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-20.04-cross-armv6-raspbian-10-20211208135931-e6e3ac4 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/armv6' + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux arm64 + +#- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: arm64 + #targetRid: linux-arm64 + #platform: Linux_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #${{ if eq(parameters.container, '') }}: + #image: ubuntu-18.04-cross-arm64-20220427171722-6e40d49 + #${{ if ne(parameters.container, '') }}: + #image: ${{ parameters.container }} + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/arm64' + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux musl x64 + +#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #osSubgroup: _musl + #archType: x64 + #targetRid: linux-musl-x64 + #platform: Linux_musl_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: alpine-3.13-WithNode-20210910135845-c401c85 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux musl arm + +#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm'), eq(parameters.platformGroup, 'all')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #osSubgroup: _musl + #archType: arm + #targetRid: linux-musl-arm + #platform: Linux_musl_arm + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-16.04-cross-arm-alpine-20210923140502-78f7860 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/arm' + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux musl arm64 + +#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #osSubgroup: _musl + #archType: arm64 + #targetRid: linux-musl-arm64 + #platform: Linux_musl_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-16.04-cross-arm64-alpine-20210923140502-78f7860 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/arm64' + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux Bionic arm64 + +#- ${{ if containsValue(parameters.platforms, 'Linux_bionic_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #osSubgroup: _bionic + #archType: arm64 + #targetRid: linux-bionic-arm64 + #platform: Linux_bionic_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + ## We build on Linux, but the test queue runs Windows, so + ## we need to override the test script generation + #runScriptWindowsCmd: true + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux Bionic x64 + +#- ${{ if containsValue(parameters.platforms, 'Linux_bionic_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #osSubgroup: _bionic + #archType: x64 + #targetRid: linux-bionic-x64 + #platform: Linux_bionic_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux x64 + +#- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), containsValue(parameters.platforms, 'CoreClrTestBuildHost'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: x64 + #targetRid: linux-x64 + #platform: Linux_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #${{ if eq(parameters.container, '') }}: + #image: centos-7-20210714125435-9b5bbc2 + #${{ if ne(parameters.container, '') }}: + #image: ${{ parameters.container }} + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux x86 + +#- ${{ if containsValue(parameters.platforms, 'Linux_x86') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: x86 + #targetRid: linux-x86 + #platform: Linux_x86 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-cross-x86-linux-20211022152824-f853169 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/x86' + #disableClrTest: true + #${{ insert }}: ${{ parameters.jobParameters }} + +## Linux x64 Source Build + +#- ${{ if containsValue(parameters.platforms, 'SourceBuild_Linux_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: x64 + #targetRid: linux-x64 + #platform: Linux_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: centos-7-source-build-20210714125450-5d87b80 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + #buildingOnSourceBuildImage: true + +## Linux s390x + +#- ${{ if containsValue(parameters.platforms, 'Linux_s390x') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Linux + #archType: s390x + #targetRid: linux-s390x + #platform: Linux_s390x + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-cross-s390x-20201102145728-d6e0352 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/s390x' + #${{ insert }}: ${{ parameters.jobParameters }} # WebAssembly @@ -429,507 +429,507 @@ jobs: ${{ insert }}: ${{ parameters.jobParameters }} # FreeBSD -- ${{ if containsValue(parameters.platforms, 'FreeBSD_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: FreeBSD - archType: x64 - targetRid: freebsd-x64 - platform: FreeBSD_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-cross-freebsd-12-20210917001307-f13d79e - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - buildConfig: ${{ parameters.buildConfig }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/x64' - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Android x64 - -- ${{ if containsValue(parameters.platforms, 'Android_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Android - archType: x64 - targetRid: android-x64 - platform: Android_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Android x86 - -- ${{ if containsValue(parameters.platforms, 'Android_x86') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Android - archType: x86 - targetRid: android-x86 - platform: Android_x86 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Android arm - -- ${{ if containsValue(parameters.platforms, 'Android_arm') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Android - archType: arm - targetRid: android-arm - platform: Android_arm - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Android arm64 - -- ${{ if containsValue(parameters.platforms, 'Android_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Android - archType: arm64 - targetRid: android-arm64 - platform: Android_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-android-20220131172314-3983b4e - registry: mcr - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Mac Catalyst x64 - -- ${{ if containsValue(parameters.platforms, 'MacCatalyst_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: MacCatalyst - archType: x64 - targetRid: maccatalyst-x64 - platform: MacCatalyst_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Mac Catalyst arm64 - -- ${{ if containsValue(parameters.platforms, 'MacCatalyst_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: MacCatalyst - archType: arm64 - targetRid: maccatalyst-arm64 - platform: MacCatalyst_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# tvOS arm64 - -- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: tvOS - archType: arm64 - targetRid: tvos-arm64 - platform: tvOS_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# tvOS Simulator x64 - -- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: tvOSSimulator - archType: x64 - targetRid: tvossimulator-x64 - platform: tvOSSimulator_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# tvOS Simulator arm64 - -- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: tvOSSimulator - archType: arm64 - targetRid: tvossimulator-arm64 - platform: tvOSSimulator_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# iOS arm - -- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: iOS - archType: arm - targetRid: ios-arm - platform: iOS_arm - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# iOS arm64 - -- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: iOS - archType: arm64 - targetRid: ios-arm64 - platform: iOS_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# iOS Simulator x64 - -- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: iOSSimulator - archType: x64 - targetRid: iossimulator-x64 - platform: iOSSimulator_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# iOS Simulator x86 - -- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x86') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: iOSSimulator - archType: x86 - targetRid: iossimulator-x86 - platform: iOSsimulator_x86 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - managedTestBuildOsGroup: OSX - ${{ insert }}: ${{ parameters.jobParameters }} - -# iOS Simulator arm64 - -- ${{ if containsValue(parameters.platforms, 'iOSSimulator_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: iOSSimulator - archType: arm64 - targetRid: iossimulator-arm64 - platform: iOSSimulator_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: mono - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# macOS arm64 - -- ${{ if containsValue(parameters.platforms, 'OSX_arm64') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: OSX - archType: arm64 - targetRid: osx-arm64 - platform: OSX_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - ${{ insert }}: ${{ parameters.jobParameters }} - -# macOS x64 - -- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: OSX - archType: x64 - targetRid: osx-x64 - platform: OSX_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Tizen armel - -- ${{ if containsValue(parameters.platforms, 'Tizen_armel') }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: Tizen - archType: armel - targetRid: tizen-armel - platform: Tizen_armel - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - container: - image: ubuntu-18.04-cross-armel-tizen-20210719212651-8b02f56 - registry: mcr - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - crossBuild: true - crossrootfsDir: '/crossrootfs/armel' - disableClrTest: true - ${{ insert }}: ${{ parameters.jobParameters }} - -# Windows x64 - -- ${{ if or(containsValue(parameters.platforms, 'windows_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: windows - archType: x64 - targetRid: win-x64 - platform: windows_x64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Windows x86 - -- ${{ if or(containsValue(parameters.platforms, 'windows_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: windows - archType: x86 - targetRid: win-x86 - platform: windows_x86 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Windows arm -- ${{ if or(containsValue(parameters.platforms, 'windows_arm'), eq(parameters.platformGroup, 'all')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: windows - archType: arm - targetRid: win-arm - platform: windows_arm - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} - -# Windows arm64 - -- ${{ if or(containsValue(parameters.platforms, 'windows_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: xplat-setup.yml - parameters: - jobTemplate: ${{ parameters.jobTemplate }} - helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - variables: ${{ parameters.variables }} - osGroup: windows - archType: arm64 - targetRid: win-arm64 - platform: windows_arm64 - shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - jobParameters: - runtimeFlavor: ${{ parameters.runtimeFlavor }} - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - ${{ if eq(parameters.passPlatforms, true) }}: - platforms: ${{ parameters.platforms }} - helixQueueGroup: ${{ parameters.helixQueueGroup }} - ${{ insert }}: ${{ parameters.jobParameters }} +#- ${{ if containsValue(parameters.platforms, 'FreeBSD_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: FreeBSD + #archType: x64 + #targetRid: freebsd-x64 + #platform: FreeBSD_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-cross-freebsd-12-20210917001307-f13d79e + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #buildConfig: ${{ parameters.buildConfig }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/x64' + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Android x64 + +#- ${{ if containsValue(parameters.platforms, 'Android_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Android + #archType: x64 + #targetRid: android-x64 + #platform: Android_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Android x86 + +#- ${{ if containsValue(parameters.platforms, 'Android_x86') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Android + #archType: x86 + #targetRid: android-x86 + #platform: Android_x86 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Android arm + +#- ${{ if containsValue(parameters.platforms, 'Android_arm') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Android + #archType: arm + #targetRid: android-arm + #platform: Android_arm + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Android arm64 + +#- ${{ if containsValue(parameters.platforms, 'Android_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Android + #archType: arm64 + #targetRid: android-arm64 + #platform: Android_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-android-20220131172314-3983b4e + #registry: mcr + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Mac Catalyst x64 + +#- ${{ if containsValue(parameters.platforms, 'MacCatalyst_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: MacCatalyst + #archType: x64 + #targetRid: maccatalyst-x64 + #platform: MacCatalyst_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Mac Catalyst arm64 + +#- ${{ if containsValue(parameters.platforms, 'MacCatalyst_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: MacCatalyst + #archType: arm64 + #targetRid: maccatalyst-arm64 + #platform: MacCatalyst_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## tvOS arm64 + +#- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: tvOS + #archType: arm64 + #targetRid: tvos-arm64 + #platform: tvOS_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## tvOS Simulator x64 + +#- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: tvOSSimulator + #archType: x64 + #targetRid: tvossimulator-x64 + #platform: tvOSSimulator_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## tvOS Simulator arm64 + +#- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: tvOSSimulator + #archType: arm64 + #targetRid: tvossimulator-arm64 + #platform: tvOSSimulator_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## iOS arm + +#- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: iOS + #archType: arm + #targetRid: ios-arm + #platform: iOS_arm + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## iOS arm64 + +#- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: iOS + #archType: arm64 + #targetRid: ios-arm64 + #platform: iOS_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## iOS Simulator x64 + +#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: iOSSimulator + #archType: x64 + #targetRid: iossimulator-x64 + #platform: iOSSimulator_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## iOS Simulator x86 + +#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x86') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: iOSSimulator + #archType: x86 + #targetRid: iossimulator-x86 + #platform: iOSsimulator_x86 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #managedTestBuildOsGroup: OSX + #${{ insert }}: ${{ parameters.jobParameters }} + +## iOS Simulator arm64 + +#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: iOSSimulator + #archType: arm64 + #targetRid: iossimulator-arm64 + #platform: iOSSimulator_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: mono + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## macOS arm64 + +#- ${{ if containsValue(parameters.platforms, 'OSX_arm64') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: OSX + #archType: arm64 + #targetRid: osx-arm64 + #platform: OSX_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #${{ insert }}: ${{ parameters.jobParameters }} + +## macOS x64 + +#- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: OSX + #archType: x64 + #targetRid: osx-x64 + #platform: OSX_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Tizen armel + +#- ${{ if containsValue(parameters.platforms, 'Tizen_armel') }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: Tizen + #archType: armel + #targetRid: tizen-armel + #platform: Tizen_armel + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #container: + #image: ubuntu-18.04-cross-armel-tizen-20210719212651-8b02f56 + #registry: mcr + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #crossBuild: true + #crossrootfsDir: '/crossrootfs/armel' + #disableClrTest: true + #${{ insert }}: ${{ parameters.jobParameters }} + +## Windows x64 + +#- ${{ if or(containsValue(parameters.platforms, 'windows_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: windows + #archType: x64 + #targetRid: win-x64 + #platform: windows_x64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Windows x86 + +#- ${{ if or(containsValue(parameters.platforms, 'windows_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: windows + #archType: x86 + #targetRid: win-x86 + #platform: windows_x86 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Windows arm +#- ${{ if or(containsValue(parameters.platforms, 'windows_arm'), eq(parameters.platformGroup, 'all')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: windows + #archType: arm + #targetRid: win-arm + #platform: windows_arm + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} + +## Windows arm64 + +#- ${{ if or(containsValue(parameters.platforms, 'windows_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + #- template: xplat-setup.yml + #parameters: + #jobTemplate: ${{ parameters.jobTemplate }} + #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + #variables: ${{ parameters.variables }} + #osGroup: windows + #archType: arm64 + #targetRid: win-arm64 + #platform: windows_arm64 + #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + #jobParameters: + #runtimeFlavor: ${{ parameters.runtimeFlavor }} + #stagedBuild: ${{ parameters.stagedBuild }} + #buildConfig: ${{ parameters.buildConfig }} + #${{ if eq(parameters.passPlatforms, true) }}: + #platforms: ${{ parameters.platforms }} + #helixQueueGroup: ${{ parameters.helixQueueGroup }} + #${{ insert }}: ${{ parameters.jobParameters }} diff --git a/eng/testing/tests.mobile.targets b/eng/testing/tests.mobile.targets index edeed52b946f1..5c2054488aa3c 100644 --- a/eng/testing/tests.mobile.targets +++ b/eng/testing/tests.mobile.targets @@ -235,6 +235,10 @@ + + + + - - - - diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index dd6e810df78f1..0733ff90eac86 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -211,7 +211,6 @@ items. For example, it might want to add custom helix items only for a nodejs scenario --> <_TestWithCustomTarget Remove="@(_TestWithCustomTarget)" Condition="'$(%(_TestWithCustomTarget.PropertyName))' == ''" /> - Date: Wed, 8 Jun 2022 23:42:47 +0000 Subject: [PATCH 04/17] address review feedback --- .../System.Security.Cryptography/tests/wasm.helix.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index 2c2157c200ec1..495f919cc1689 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -17,8 +17,8 @@ $(HelixCommand) $(_workItemTimeout) - set "WasmXHarnessArgs=--web-server-use-cors" - export "WasmXHarnessArgs=--web-server-use-cors" + set "WasmXHarnessArgs=--web-server-use-cop" + export "WasmXHarnessArgs=--web-server-use-cop" From d27f1a99e561826ed497f9755b39505acdad7e35 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 8 Jun 2022 23:59:38 +0000 Subject: [PATCH 05/17] Address review feedback --- .../System.Security.Cryptography/tests/wasm.helix.targets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index 495f919cc1689..18bff4743169b 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -17,8 +17,8 @@ $(HelixCommand) $(_workItemTimeout) - set "WasmXHarnessArgs=--web-server-use-cop" - export "WasmXHarnessArgs=--web-server-use-cop" + set "WasmXHarnessArgs=%WasmXHarnessArgs% --web-server-use-cop" + export "WasmXHarnessArgs=$WasmXHarnessArgs --web-server-use-cop" From 2e5b77fa52fcbf2d543573b0bf4fc1ece9e31fbc Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Thu, 9 Jun 2022 01:59:04 +0000 Subject: [PATCH 06/17] Fix typo --- .../System.Security.Cryptography/tests/wasm.helix.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index 18bff4743169b..985234d7e1235 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -1,7 +1,7 @@ <_CryptoProjectName>System.Security.Cryptography.Tests - System_Security_Cryptography_Tests_Target + System_Security_Cryptography_Tests_Target From 9b9e7ba7c0dd86d194a1c25d8477524ac5dc065e Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Thu, 9 Jun 2022 03:49:10 +0000 Subject: [PATCH 07/17] Revert "disable non-wasm builds" This reverts commit 7ef99e81f82200189dd3f61eeaf00d6ca4ced6d4. --- eng/pipelines/common/platform-matrix.yml | 1660 +++++++++++----------- eng/testing/tests.mobile.targets | 4 - eng/testing/tests.wasm.targets | 4 + src/libraries/sendtohelix-wasm.targets | 1 + 4 files changed, 835 insertions(+), 834 deletions(-) diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml index 5795222b9eb7a..e28badbbb417b 100644 --- a/eng/pipelines/common/platform-matrix.yml +++ b/eng/pipelines/common/platform-matrix.yml @@ -29,332 +29,332 @@ parameters: jobs: # Linux arm -#- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: arm - #targetRid: linux-arm - #platform: Linux_arm - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-cross-arm-20220426130400-6e40d49 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/arm' - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux armv6 -#- ${{ if containsValue(parameters.platforms, 'Linux_armv6') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: armv6 - #targetRid: linux-armv6 - #platform: Linux_armv6 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-20.04-cross-armv6-raspbian-10-20211208135931-e6e3ac4 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/armv6' - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux arm64 - -#- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: arm64 - #targetRid: linux-arm64 - #platform: Linux_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #${{ if eq(parameters.container, '') }}: - #image: ubuntu-18.04-cross-arm64-20220427171722-6e40d49 - #${{ if ne(parameters.container, '') }}: - #image: ${{ parameters.container }} - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/arm64' - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux musl x64 - -#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #osSubgroup: _musl - #archType: x64 - #targetRid: linux-musl-x64 - #platform: Linux_musl_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: alpine-3.13-WithNode-20210910135845-c401c85 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux musl arm - -#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm'), eq(parameters.platformGroup, 'all')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #osSubgroup: _musl - #archType: arm - #targetRid: linux-musl-arm - #platform: Linux_musl_arm - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-16.04-cross-arm-alpine-20210923140502-78f7860 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/arm' - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux musl arm64 - -#- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #osSubgroup: _musl - #archType: arm64 - #targetRid: linux-musl-arm64 - #platform: Linux_musl_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-16.04-cross-arm64-alpine-20210923140502-78f7860 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/arm64' - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux Bionic arm64 - -#- ${{ if containsValue(parameters.platforms, 'Linux_bionic_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #osSubgroup: _bionic - #archType: arm64 - #targetRid: linux-bionic-arm64 - #platform: Linux_bionic_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - ## We build on Linux, but the test queue runs Windows, so - ## we need to override the test script generation - #runScriptWindowsCmd: true - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux Bionic x64 - -#- ${{ if containsValue(parameters.platforms, 'Linux_bionic_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #osSubgroup: _bionic - #archType: x64 - #targetRid: linux-bionic-x64 - #platform: Linux_bionic_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux x64 - -#- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), containsValue(parameters.platforms, 'CoreClrTestBuildHost'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: x64 - #targetRid: linux-x64 - #platform: Linux_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #${{ if eq(parameters.container, '') }}: - #image: centos-7-20210714125435-9b5bbc2 - #${{ if ne(parameters.container, '') }}: - #image: ${{ parameters.container }} - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux x86 - -#- ${{ if containsValue(parameters.platforms, 'Linux_x86') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: x86 - #targetRid: linux-x86 - #platform: Linux_x86 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-cross-x86-linux-20211022152824-f853169 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/x86' - #disableClrTest: true - #${{ insert }}: ${{ parameters.jobParameters }} - -## Linux x64 Source Build - -#- ${{ if containsValue(parameters.platforms, 'SourceBuild_Linux_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: x64 - #targetRid: linux-x64 - #platform: Linux_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: centos-7-source-build-20210714125450-5d87b80 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - #buildingOnSourceBuildImage: true - -## Linux s390x - -#- ${{ if containsValue(parameters.platforms, 'Linux_s390x') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Linux - #archType: s390x - #targetRid: linux-s390x - #platform: Linux_s390x - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-cross-s390x-20201102145728-d6e0352 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/s390x' - #${{ insert }}: ${{ parameters.jobParameters }} +- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: arm + targetRid: linux-arm + platform: Linux_arm + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-cross-arm-20220426130400-6e40d49 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/arm' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux armv6 +- ${{ if containsValue(parameters.platforms, 'Linux_armv6') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: armv6 + targetRid: linux-armv6 + platform: Linux_armv6 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-20.04-cross-armv6-raspbian-10-20211208135931-e6e3ac4 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/armv6' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux arm64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: arm64 + targetRid: linux-arm64 + platform: Linux_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + ${{ if eq(parameters.container, '') }}: + image: ubuntu-18.04-cross-arm64-20220427171722-6e40d49 + ${{ if ne(parameters.container, '') }}: + image: ${{ parameters.container }} + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/arm64' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux musl x64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + osSubgroup: _musl + archType: x64 + targetRid: linux-musl-x64 + platform: Linux_musl_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: alpine-3.13-WithNode-20210910135845-c401c85 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux musl arm + +- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + osSubgroup: _musl + archType: arm + targetRid: linux-musl-arm + platform: Linux_musl_arm + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-16.04-cross-arm-alpine-20210923140502-78f7860 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/arm' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux musl arm64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + osSubgroup: _musl + archType: arm64 + targetRid: linux-musl-arm64 + platform: Linux_musl_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-16.04-cross-arm64-alpine-20210923140502-78f7860 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/arm64' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux Bionic arm64 + +- ${{ if containsValue(parameters.platforms, 'Linux_bionic_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + osSubgroup: _bionic + archType: arm64 + targetRid: linux-bionic-arm64 + platform: Linux_bionic_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + # We build on Linux, but the test queue runs Windows, so + # we need to override the test script generation + runScriptWindowsCmd: true + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux Bionic x64 + +- ${{ if containsValue(parameters.platforms, 'Linux_bionic_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + osSubgroup: _bionic + archType: x64 + targetRid: linux-bionic-x64 + platform: Linux_bionic_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux x64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), containsValue(parameters.platforms, 'CoreClrTestBuildHost'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: x64 + targetRid: linux-x64 + platform: Linux_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + ${{ if eq(parameters.container, '') }}: + image: centos-7-20210714125435-9b5bbc2 + ${{ if ne(parameters.container, '') }}: + image: ${{ parameters.container }} + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux x86 + +- ${{ if containsValue(parameters.platforms, 'Linux_x86') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: x86 + targetRid: linux-x86 + platform: Linux_x86 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-cross-x86-linux-20211022152824-f853169 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/x86' + disableClrTest: true + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux x64 Source Build + +- ${{ if containsValue(parameters.platforms, 'SourceBuild_Linux_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: x64 + targetRid: linux-x64 + platform: Linux_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: centos-7-source-build-20210714125450-5d87b80 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + buildingOnSourceBuildImage: true + +# Linux s390x + +- ${{ if containsValue(parameters.platforms, 'Linux_s390x') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Linux + archType: s390x + targetRid: linux-s390x + platform: Linux_s390x + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-cross-s390x-20201102145728-d6e0352 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/s390x' + ${{ insert }}: ${{ parameters.jobParameters }} # WebAssembly @@ -429,507 +429,507 @@ jobs: ${{ insert }}: ${{ parameters.jobParameters }} # FreeBSD -#- ${{ if containsValue(parameters.platforms, 'FreeBSD_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: FreeBSD - #archType: x64 - #targetRid: freebsd-x64 - #platform: FreeBSD_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-cross-freebsd-12-20210917001307-f13d79e - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #buildConfig: ${{ parameters.buildConfig }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/x64' - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Android x64 - -#- ${{ if containsValue(parameters.platforms, 'Android_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Android - #archType: x64 - #targetRid: android-x64 - #platform: Android_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Android x86 - -#- ${{ if containsValue(parameters.platforms, 'Android_x86') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Android - #archType: x86 - #targetRid: android-x86 - #platform: Android_x86 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Android arm - -#- ${{ if containsValue(parameters.platforms, 'Android_arm') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Android - #archType: arm - #targetRid: android-arm - #platform: Android_arm - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Android arm64 - -#- ${{ if containsValue(parameters.platforms, 'Android_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Android - #archType: arm64 - #targetRid: android-arm64 - #platform: Android_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-android-20220131172314-3983b4e - #registry: mcr - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Mac Catalyst x64 - -#- ${{ if containsValue(parameters.platforms, 'MacCatalyst_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: MacCatalyst - #archType: x64 - #targetRid: maccatalyst-x64 - #platform: MacCatalyst_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Mac Catalyst arm64 - -#- ${{ if containsValue(parameters.platforms, 'MacCatalyst_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: MacCatalyst - #archType: arm64 - #targetRid: maccatalyst-arm64 - #platform: MacCatalyst_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## tvOS arm64 - -#- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: tvOS - #archType: arm64 - #targetRid: tvos-arm64 - #platform: tvOS_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## tvOS Simulator x64 - -#- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: tvOSSimulator - #archType: x64 - #targetRid: tvossimulator-x64 - #platform: tvOSSimulator_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## tvOS Simulator arm64 - -#- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: tvOSSimulator - #archType: arm64 - #targetRid: tvossimulator-arm64 - #platform: tvOSSimulator_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## iOS arm - -#- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: iOS - #archType: arm - #targetRid: ios-arm - #platform: iOS_arm - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## iOS arm64 - -#- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: iOS - #archType: arm64 - #targetRid: ios-arm64 - #platform: iOS_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## iOS Simulator x64 - -#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: iOSSimulator - #archType: x64 - #targetRid: iossimulator-x64 - #platform: iOSSimulator_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## iOS Simulator x86 - -#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x86') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: iOSSimulator - #archType: x86 - #targetRid: iossimulator-x86 - #platform: iOSsimulator_x86 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #managedTestBuildOsGroup: OSX - #${{ insert }}: ${{ parameters.jobParameters }} - -## iOS Simulator arm64 - -#- ${{ if containsValue(parameters.platforms, 'iOSSimulator_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: iOSSimulator - #archType: arm64 - #targetRid: iossimulator-arm64 - #platform: iOSSimulator_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: mono - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## macOS arm64 - -#- ${{ if containsValue(parameters.platforms, 'OSX_arm64') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: OSX - #archType: arm64 - #targetRid: osx-arm64 - #platform: OSX_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #${{ insert }}: ${{ parameters.jobParameters }} - -## macOS x64 - -#- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: OSX - #archType: x64 - #targetRid: osx-x64 - #platform: OSX_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Tizen armel - -#- ${{ if containsValue(parameters.platforms, 'Tizen_armel') }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: Tizen - #archType: armel - #targetRid: tizen-armel - #platform: Tizen_armel - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #container: - #image: ubuntu-18.04-cross-armel-tizen-20210719212651-8b02f56 - #registry: mcr - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #crossBuild: true - #crossrootfsDir: '/crossrootfs/armel' - #disableClrTest: true - #${{ insert }}: ${{ parameters.jobParameters }} - -## Windows x64 - -#- ${{ if or(containsValue(parameters.platforms, 'windows_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: windows - #archType: x64 - #targetRid: win-x64 - #platform: windows_x64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Windows x86 - -#- ${{ if or(containsValue(parameters.platforms, 'windows_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: windows - #archType: x86 - #targetRid: win-x86 - #platform: windows_x86 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Windows arm -#- ${{ if or(containsValue(parameters.platforms, 'windows_arm'), eq(parameters.platformGroup, 'all')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: windows - #archType: arm - #targetRid: win-arm - #platform: windows_arm - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} - -## Windows arm64 - -#- ${{ if or(containsValue(parameters.platforms, 'windows_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - #- template: xplat-setup.yml - #parameters: - #jobTemplate: ${{ parameters.jobTemplate }} - #helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} - #variables: ${{ parameters.variables }} - #osGroup: windows - #archType: arm64 - #targetRid: win-arm64 - #platform: windows_arm64 - #shouldContinueOnError: ${{ parameters.shouldContinueOnError }} - #jobParameters: - #runtimeFlavor: ${{ parameters.runtimeFlavor }} - #stagedBuild: ${{ parameters.stagedBuild }} - #buildConfig: ${{ parameters.buildConfig }} - #${{ if eq(parameters.passPlatforms, true) }}: - #platforms: ${{ parameters.platforms }} - #helixQueueGroup: ${{ parameters.helixQueueGroup }} - #${{ insert }}: ${{ parameters.jobParameters }} +- ${{ if containsValue(parameters.platforms, 'FreeBSD_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: FreeBSD + archType: x64 + targetRid: freebsd-x64 + platform: FreeBSD_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-cross-freebsd-12-20210917001307-f13d79e + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + buildConfig: ${{ parameters.buildConfig }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/x64' + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Android x64 + +- ${{ if containsValue(parameters.platforms, 'Android_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Android + archType: x64 + targetRid: android-x64 + platform: Android_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Android x86 + +- ${{ if containsValue(parameters.platforms, 'Android_x86') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Android + archType: x86 + targetRid: android-x86 + platform: Android_x86 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Android arm + +- ${{ if containsValue(parameters.platforms, 'Android_arm') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Android + archType: arm + targetRid: android-arm + platform: Android_arm + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Android arm64 + +- ${{ if containsValue(parameters.platforms, 'Android_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Android + archType: arm64 + targetRid: android-arm64 + platform: Android_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-android-20220131172314-3983b4e + registry: mcr + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Mac Catalyst x64 + +- ${{ if containsValue(parameters.platforms, 'MacCatalyst_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: MacCatalyst + archType: x64 + targetRid: maccatalyst-x64 + platform: MacCatalyst_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Mac Catalyst arm64 + +- ${{ if containsValue(parameters.platforms, 'MacCatalyst_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: MacCatalyst + archType: arm64 + targetRid: maccatalyst-arm64 + platform: MacCatalyst_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# tvOS arm64 + +- ${{ if containsValue(parameters.platforms, 'tvOS_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: tvOS + archType: arm64 + targetRid: tvos-arm64 + platform: tvOS_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# tvOS Simulator x64 + +- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: tvOSSimulator + archType: x64 + targetRid: tvossimulator-x64 + platform: tvOSSimulator_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# tvOS Simulator arm64 + +- ${{ if containsValue(parameters.platforms, 'tvOSSimulator_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: tvOSSimulator + archType: arm64 + targetRid: tvossimulator-arm64 + platform: tvOSSimulator_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# iOS arm + +- ${{ if containsValue(parameters.platforms, 'iOS_arm') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: iOS + archType: arm + targetRid: ios-arm + platform: iOS_arm + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# iOS arm64 + +- ${{ if containsValue(parameters.platforms, 'iOS_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: iOS + archType: arm64 + targetRid: ios-arm64 + platform: iOS_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# iOS Simulator x64 + +- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: iOSSimulator + archType: x64 + targetRid: iossimulator-x64 + platform: iOSSimulator_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# iOS Simulator x86 + +- ${{ if containsValue(parameters.platforms, 'iOSSimulator_x86') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: iOSSimulator + archType: x86 + targetRid: iossimulator-x86 + platform: iOSsimulator_x86 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + managedTestBuildOsGroup: OSX + ${{ insert }}: ${{ parameters.jobParameters }} + +# iOS Simulator arm64 + +- ${{ if containsValue(parameters.platforms, 'iOSSimulator_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: iOSSimulator + archType: arm64 + targetRid: iossimulator-arm64 + platform: iOSSimulator_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: mono + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# macOS arm64 + +- ${{ if containsValue(parameters.platforms, 'OSX_arm64') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: OSX + archType: arm64 + targetRid: osx-arm64 + platform: OSX_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + ${{ insert }}: ${{ parameters.jobParameters }} + +# macOS x64 + +- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: OSX + archType: x64 + targetRid: osx-x64 + platform: OSX_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Tizen armel + +- ${{ if containsValue(parameters.platforms, 'Tizen_armel') }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: Tizen + archType: armel + targetRid: tizen-armel + platform: Tizen_armel + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + container: + image: ubuntu-18.04-cross-armel-tizen-20210719212651-8b02f56 + registry: mcr + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + crossBuild: true + crossrootfsDir: '/crossrootfs/armel' + disableClrTest: true + ${{ insert }}: ${{ parameters.jobParameters }} + +# Windows x64 + +- ${{ if or(containsValue(parameters.platforms, 'windows_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: windows + archType: x64 + targetRid: win-x64 + platform: windows_x64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Windows x86 + +- ${{ if or(containsValue(parameters.platforms, 'windows_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: windows + archType: x86 + targetRid: win-x86 + platform: windows_x86 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Windows arm +- ${{ if or(containsValue(parameters.platforms, 'windows_arm'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: windows + archType: arm + targetRid: win-arm + platform: windows_arm + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} + +# Windows arm64 + +- ${{ if or(containsValue(parameters.platforms, 'windows_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }} + variables: ${{ parameters.variables }} + osGroup: windows + archType: arm64 + targetRid: win-arm64 + platform: windows_arm64 + shouldContinueOnError: ${{ parameters.shouldContinueOnError }} + jobParameters: + runtimeFlavor: ${{ parameters.runtimeFlavor }} + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ if eq(parameters.passPlatforms, true) }}: + platforms: ${{ parameters.platforms }} + helixQueueGroup: ${{ parameters.helixQueueGroup }} + ${{ insert }}: ${{ parameters.jobParameters }} diff --git a/eng/testing/tests.mobile.targets b/eng/testing/tests.mobile.targets index 5c2054488aa3c..edeed52b946f1 100644 --- a/eng/testing/tests.mobile.targets +++ b/eng/testing/tests.mobile.targets @@ -235,10 +235,6 @@ - - - - + + + + diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 0733ff90eac86..dd6e810df78f1 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -211,6 +211,7 @@ items. For example, it might want to add custom helix items only for a nodejs scenario --> <_TestWithCustomTarget Remove="@(_TestWithCustomTarget)" Condition="'$(%(_TestWithCustomTarget.PropertyName))' == ''" /> + Date: Mon, 13 Jun 2022 17:56:59 -0400 Subject: [PATCH 08/17] Update src/libraries/System.Security.Cryptography/tests/wasm.helix.targets Co-authored-by: Eric Erhardt --- .../System.Security.Cryptography/tests/wasm.helix.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index 985234d7e1235..aed5c57f3b1f6 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -12,7 +12,7 @@ $(_workItemTimeout) - + $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) From 9340df359db2f785eab436b88cb5a6c5ffcc9a53 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Mon, 13 Jun 2022 22:22:50 +0000 Subject: [PATCH 09/17] Address review feedback --- .../System.Security.Cryptography/tests/wasm.helix.targets | 2 +- src/libraries/sendtohelix-wasm.targets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index aed5c57f3b1f6..f3740de63167e 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -1,7 +1,7 @@ <_CryptoProjectName>System.Security.Cryptography.Tests - System_Security_Cryptography_Tests_Target + System_Security_Cryptography_Tests_Target diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index dd6e810df78f1..3195cf0ba07c9 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -205,7 +205,7 @@ - <_TestWithCustomTarget PropertyName="$([System.String]::new(%(TestName)).Replace('.', '_').Replace('-', '_'))_TargetName" /> + <_TestWithCustomTarget PropertyName="$([System.String]::new(%(TestName)).Replace('.', '_').Replace('-', '_'))_HelixTargetName" /> From cb8167e375671a06abd7e36225c4b6342338ec99 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Mon, 13 Jun 2022 22:25:06 +0000 Subject: [PATCH 10/17] remove debug spew --- src/libraries/sendtohelix-wasm.targets | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 3195cf0ba07c9..8445209940b36 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -211,7 +211,6 @@ items. For example, it might want to add custom helix items only for a nodejs scenario --> <_TestWithCustomTarget Remove="@(_TestWithCustomTarget)" Condition="'$(%(_TestWithCustomTarget.PropertyName))' == ''" /> - Date: Tue, 14 Jun 2022 23:56:37 +0000 Subject: [PATCH 11/17] Change the way helix extension targets are discovered. The new approach: To run a custom project specific target for adding/editing @(HelixWorkItem): - In the project add: `wasm.helix.targets` - This file gets copied next to the test archive as $(MSBuildProjectName).helix.targets - In this `wasm.helix.targets` file, add to $(HelixExtensionTargets) to run your custom target ```xml $(HelixExtensionTargets);_AddHelixCrypoItems ``` - The extension target will be called after the default items are added to `@(HelixWorkItem)`. - Useful properties to condition on: $(Scenario), $(IsRunningLibraryTests) - And add to, change, or remove from @(HelixWorkItem) Example: ```xml $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) $(_CryptoProjectName) $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) $(_CryptoProjectName) set "WasmXHarnessArgs=%WasmXHarnessArgs% --web-server-use-cop" export "WasmXHarnessArgs=$WasmXHarnessArgs --web-server-use-cop" <_CryptoHelixItem Include="@(HelixWorkItem)" Condition="$([System.String]::new('%(HelixWorkItem.Identity)').EndsWith('-$(_CryptoProjectName)'))" /> ``` --- .../tests/wasm.helix.targets | 22 ++- src/libraries/sendtohelix-wasm.targets | 155 ++++++++++-------- 2 files changed, 103 insertions(+), 74 deletions(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index f3740de63167e..838812dda9b2d 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -1,25 +1,37 @@ - + + $(HelixExtensionTargets);_AddHelixCrypoItems <_CryptoProjectName>System.Security.Cryptography.Tests - System_Security_Cryptography_Tests_Target - + - + + + + + $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) + $(_CryptoProjectName) - + $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) + $(_CryptoProjectName) set "WasmXHarnessArgs=%WasmXHarnessArgs% --web-server-use-cop" export "WasmXHarnessArgs=$WasmXHarnessArgs --web-server-use-cop" + + <_CryptoHelixItem Include="@(HelixWorkItem)" + Condition="$([System.String]::new('%(HelixWorkItem.Identity)').EndsWith('-$(_CryptoProjectName)'))" /> + + diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 8445209940b36..94e40bc60c6f1 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -1,13 +1,47 @@ + + <_workItemTimeout Condition="'$(Scenario)' == 'BuildWasmApps' and '$(_workItemTimeout)' == ''">01:30:00 <_workItemTimeout Condition="'$(NeedsToBuildWasmAppsOnHelix)' == 'true'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmDebuggerTests'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmTestOnBrowser' and '$(BrowserHost)' == 'windows'">00:45:00 + $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'build')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'NetCoreServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) + $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'RemoteLoopServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) + Workloads- + NoWorkload- + $(DebuggerHost)- + $(Scenario)- + true true + + + PrepareHelixCorrelationPayload_Wasm; + _AddWorkItemsForLibraryTests; + _AddWorkItemsForBuildWasmApps; + _AddWorkItemsForWasmDebuggerTests + + $(BuildHelixWorkItemsDependsOn);StageEmSdkForHelix;PrepareForBuildHelixWorkItems_Wasm $(BuildHelixWorkItemsDependsOn);DownloadFirefoxToSendToHelix false @@ -32,7 +66,7 @@ true - + <_HelixLocalNodePath Condition="'$(NeedsEMSDKNode)' == 'true' and '$(WindowsShell)' != 'true'">$HELIX_CORRELATION_PAYLOAD/build/emsdk-node @@ -127,16 +161,8 @@ - - - $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'build')) - $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'NetCoreServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) - $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'RemoteLoopServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) - Workloads- - NoWorkload- - $(DebuggerHost)- - $(Scenario)- - + + @@ -165,27 +191,13 @@ + - - - - - - - - <_WasmWorkItem Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" Condition="'$(Scenario)' == 'BuildWasmApps'" /> - - <_WasmWorkItem Include="$(TestArchiveTestsRoot)**/Wasm.Debugger.Tests.zip" Condition="'$(IsWasmDebuggerTests)' == 'true'" /> - - - - <_BuildWasmAppsPayloadArchive>@(_WasmWorkItem) - <_WasmDebuggerTestsPayloadArchive>@(_WasmWorkItem) - - - + - + + <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> @@ -197,28 +209,46 @@ $(_workItemTimeout) - - <_TestWithCustomTarget Include="$(TestArchiveTestsDir)\*.helix.targets" /> - <_TestWithCustomTarget - TestName="$([System.IO.Path]::GetFileNameWithoutExtension(%(FileName)))" - ArchivePath="$([System.String]::new(%(Identity)).Replace('.helix.targets', '.zip'))" /> + <_DefaultWorkItems Remove="@(_DefaultWorkItems)" /> + <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> + + + + + <_WasmSampleZipFile Condition="'$(Scenario)' == 'normal' or '$(Scenario)' == ''" Include="$(TestArchiveRoot)runonly/**/*.Console.V8.*.Sample.zip" /> + <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" Include="$(TestArchiveRoot)runonly/**/*.Console.Node.*.Sample.zip" /> + <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnBrowser'" Include="$(TestArchiveRoot)runonly/**/*.Browser.*.Sample.zip" /> - - <_TestWithCustomTarget PropertyName="$([System.String]::new(%(TestName)).Replace('.', '_').Replace('-', '_'))_HelixTargetName" /> + + %(Identity) + $(HelixCommand) + $(_workItemTimeout) + - - <_TestWithCustomTarget Remove="@(_TestWithCustomTarget)" Condition="'$(%(_TestWithCustomTarget.PropertyName))' == ''" /> + + %(Identity) + $(HelixCommand) + $(_workItemTimeout) + %(FileName) + + + + + + + + <_WasmWorkItem Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> + + <_BuildWasmAppsPayloadArchive>@(_WasmWorkItem) + - - + + + - + $(_BuildWasmAppsPayloadArchive) set "HELIX_XUNIT_ARGS=-class %(Identity)" @@ -233,35 +263,22 @@ $(_workItemTimeout) + - - - $(_WasmDebuggerTestsPayloadArchive) - $(HelixCommand) - $(_workItemTimeout) - + + + <_WasmWorkItem Include="$(TestArchiveTestsRoot)**/Wasm.Debugger.Tests.zip" /> + + <_WasmDebuggerTestsPayloadArchive>@(_WasmWorkItem) + - - - <_WasmSampleZipFile Condition="'$(Scenario)' == 'normal' or '$(Scenario)' == ''" Include="$(TestArchiveRoot)runonly/**/*.Console.V8.*.Sample.zip" /> - <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" Include="$(TestArchiveRoot)runonly/**/*.Console.Node.*.Sample.zip" /> - <_WasmSampleZipFile Condition="'$(Scenario)' == 'WasmTestOnBrowser'" Include="$(TestArchiveRoot)runonly/**/*.Browser.*.Sample.zip" /> - - - %(Identity) - $(HelixCommand) - $(_workItemTimeout) - - - <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload);@(_TestWithCustomTarget->'%(ArchivePath)')" /> - - - %(Identity) + + + $(_WasmDebuggerTestsPayloadArchive) $(HelixCommand) $(_workItemTimeout) - From e26a7b39c44d9a12c00e926bb3fd64b9a36c997e Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 00:31:25 +0000 Subject: [PATCH 12/17] cleanup --- src/libraries/sendtohelix-wasm.targets | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 94e40bc60c6f1..d82cecb9cefc8 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -198,19 +198,16 @@ - <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> - <_WasmWorkItem Include="$(TestArchiveRoot)nodejsonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)browseronly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnBrowser'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)browserornodejs/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> + <_WasmWorkItem Include="$(TestArchiveRoot)nodejsonly/**/*.zip" Condition="'$(Scenario)' == 'WasmTestOnNodeJs'" /> %(Identity) $(HelixCommand) $(_workItemTimeout) - - <_DefaultWorkItems Remove="@(_DefaultWorkItems)" /> - <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> @@ -225,6 +222,9 @@ $(_workItemTimeout) + <_DefaultWorkItems Remove="@(_DefaultWorkItems)" /> + <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> + %(Identity) $(HelixCommand) From 9997e59f674120b0271c338ab1d64ed7590466c5 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 00:53:32 +0000 Subject: [PATCH 13/17] Move WBT specific stuff into the target too. This will make it simpler to move it off into a targets file later --- src/libraries/sendtohelix-wasm.targets | 38 ++++++++++++++------------ 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index d82cecb9cefc8..8b0e49b9cf5f2 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -18,7 +18,7 @@ --> - <_workItemTimeout Condition="'$(Scenario)' == 'BuildWasmApps' and '$(_workItemTimeout)' == ''">01:30:00 + <_workItemTimeout Condition="'$(_workItemTimeout)' == ''">01:30:00 <_workItemTimeout Condition="'$(NeedsToBuildWasmAppsOnHelix)' == 'true'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmDebuggerTests'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmTestOnBrowser' and '$(BrowserHost)' == 'windows'">00:45:00 @@ -26,8 +26,6 @@ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'build')) $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'NetCoreServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) $([MSBuild]::NormalizeDirectory('$(ArtifactsDir)', 'bin', 'RemoteLoopServer', '$(Configuration)', '$(AspNetCoreAppCurrent)')) - Workloads- - NoWorkload- $(DebuggerHost)- $(Scenario)- @@ -47,18 +45,15 @@ false false - $(RepositoryEngineeringDir)\testing\scenarios\BuildWasmAppsJobsList.txt - $(RepoRoot)src\mono\wasm\emsdk\ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'emsdk')) $(TestArchiveRoot)firefox.zip chrome - true true - true - true + true + true true true @@ -118,15 +113,6 @@ - - <_XUnitTraitArg Condition="'$(TestUsingWorkloads)' == 'true'">-notrait category=no-workload - <_XUnitTraitArg Condition="'$(TestUsingWorkloads)' != 'true'">-trait category=no-workload - - - - - - <_WasmWorkItem Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> From f487513e03ddc503252c9ce7a189eff391a130b4 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 03:27:30 +0000 Subject: [PATCH 14/17] fix build --- src/libraries/sendtohelix-wasm.targets | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 8b0e49b9cf5f2..99904066153af 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -18,7 +18,7 @@ --> - <_workItemTimeout Condition="'$(_workItemTimeout)' == ''">01:30:00 + <_workItemTimeout Condition="'$(Scenario)' == 'BuildWasmApps' and '$(_workItemTimeout)' == ''">01:30:00 <_workItemTimeout Condition="'$(NeedsToBuildWasmAppsOnHelix)' == 'true'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmDebuggerTests'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmTestOnBrowser' and '$(BrowserHost)' == 'windows'">00:45:00 @@ -51,9 +51,10 @@ $(TestArchiveRoot)firefox.zip chrome + true true - true - true + true + true true true @@ -206,6 +207,7 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) + %(Identity) <_DefaultWorkItems Remove="@(_DefaultWorkItems)" /> @@ -223,12 +225,6 @@ $(RepositoryEngineeringDir)testing\scenarios\BuildWasmAppsJobsList.txt - - <_workItemTimeout>01:30:00 - true - true - true - Workloads- NoWorkload- From 5382a84a25f2d8ef67a50c45511ce17cfa8560bc Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 04:39:19 +0000 Subject: [PATCH 15/17] fix libtests --- .../System.Security.Cryptography/tests/wasm.helix.targets | 4 +--- src/libraries/sendtohelix-wasm.targets | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets index 838812dda9b2d..ecb37438b651b 100644 --- a/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets +++ b/src/libraries/System.Security.Cryptography/tests/wasm.helix.targets @@ -7,21 +7,19 @@ - + $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) - $(_CryptoProjectName) $(TestArchiveTestsDir)$(_CryptoProjectName).zip $(HelixCommand) $(_workItemTimeout) - $(_CryptoProjectName) set "WasmXHarnessArgs=%WasmXHarnessArgs% --web-server-use-cop" export "WasmXHarnessArgs=$WasmXHarnessArgs --web-server-use-cop" diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 99904066153af..5c63190a34faa 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -207,7 +207,6 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) - %(Identity) <_DefaultWorkItems Remove="@(_DefaultWorkItems)" /> @@ -217,7 +216,6 @@ %(Identity) $(HelixCommand) $(_workItemTimeout) - %(FileName) From 6b111b31af6014df60ffa588e7f77f716d853b37 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 04:49:47 +0000 Subject: [PATCH 16/17] fix wbt --- src/libraries/sendtohelix-wasm.targets | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 5c63190a34faa..12c2a6caaa3b1 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -114,6 +114,15 @@ + + <_XUnitTraitArg Condition="'$(TestUsingWorkloads)' == 'true'">-notrait category=no-workload + <_XUnitTraitArg Condition="'$(TestUsingWorkloads)' != 'true'">-trait category=no-workload + + + + + + <_WasmWorkItem Include="$(WorkItemArchiveWildCard)" Exclude="$(HelixCorrelationPayload)" /> From 4e3e2bd5cbb15146cdc2a784df491cd00ece46d4 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 15 Jun 2022 03:51:30 -0400 Subject: [PATCH 17/17] [wasm] Bump helix timeout to 90mins for debugger tests on windows --- src/libraries/sendtohelix-wasm.targets | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/sendtohelix-wasm.targets b/src/libraries/sendtohelix-wasm.targets index 12c2a6caaa3b1..b89edb87704d7 100644 --- a/src/libraries/sendtohelix-wasm.targets +++ b/src/libraries/sendtohelix-wasm.targets @@ -21,6 +21,7 @@ <_workItemTimeout Condition="'$(Scenario)' == 'BuildWasmApps' and '$(_workItemTimeout)' == ''">01:30:00 <_workItemTimeout Condition="'$(NeedsToBuildWasmAppsOnHelix)' == 'true'">01:00:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmDebuggerTests'">01:00:00 + <_workItemTimeout Condition="'$(Scenario)' == 'WasmDebuggerTests' and '$(BrowserHost)' == 'windows'">01:30:00 <_workItemTimeout Condition="'$(Scenario)' == 'WasmTestOnBrowser' and '$(BrowserHost)' == 'windows'">00:45:00 $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src', 'mono', 'wasm', 'build'))