diff --git a/eng/pipelines/coreclr/templates/build-perf-sample-apps.yml b/eng/pipelines/coreclr/templates/build-perf-sample-apps.yml index b3f93f68d3c67..c9c236e652e5c 100644 --- a/eng/pipelines/coreclr/templates/build-perf-sample-apps.yml +++ b/eng/pipelines/coreclr/templates/build-perf-sample-apps.yml @@ -18,6 +18,12 @@ parameters: tarCompression: '' hybridGlobalization: False + # Set Hybrid_globalization string for artifact name + ${{ if eq(parameters.hybridGlobalization, False) }}: + hybridGlobalizationString: '' + ${{ if eq(parameters.hybridGlobalization, True) }}: + hybridGlobalizationString: 'HybridGlobalization' + steps: # Build Android sample app - ${{ if eq(parameters.osGroup, 'android') }}: @@ -37,142 +43,12 @@ steps: workingDirectory: $(Build.SourcesDirectory)/artifacts/bin displayName: clean bindir - - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSMono'), eq(parameters.hybridGlobalization, False)) }}: - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=False - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App NoLLVM - artifactName: iOSSampleAppNoLLVMSymbols - archiveExtension: '.zip' - archiveType: zip - - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=True - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App NoLLVM NoSymbols - artifactName: iOSSampleAppNoLLVMNoSymbols - archiveExtension: '.zip' - archiveType: zip - - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=False - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App LLVM - artifactName: iOSSampleAppLLVMSymbols - archiveExtension: '.zip' - archiveType: zip - - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=True - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App LLVM NoSymbols - artifactName: iOSSampleAppLLVMNoSymbols - archiveExtension: '.zip' - archiveType: zip - - - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSNativeAOT'), eq(parameters.hybridGlobalization, False)) }}: - - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT - displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=False - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App Symbols - artifactName: iOSSampleAppSymbols - archiveExtension: '.zip' - archiveType: zip - - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT - displayName: Clean bindir - - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true - env: - DevTeamProvisioning: '-' - workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT - displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=True - - task: PublishBuildArtifacts@1 - condition: succeededOrFailed() - displayName: 'Publish binlog' - inputs: - pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/msbuild.binlog - artifactName: ${{ parameters.artifactName }} - - template: /eng/pipelines/common/upload-artifact-step.yml - parameters: - rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app - includeRootFolder: true - displayName: iOS Sample App NoSymbols - artifactName: iOSSampleAppNoSymbols - archiveExtension: '.zip' - archiveType: zip - - - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSMono'), eq(parameters.hybridGlobalization, True)) }}: - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=true + - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSMono')) }}: + - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=False + displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=False HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -184,17 +60,17 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App NoLLVM - artifactName: iOSSampleAppNoLLVMSymbolsHybridGlobalization + artifactName: iOSSampleAppNoLLVMSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true HYBRID_GLOBALIZATION=true + - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=False DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=True + displayName: Build HelloiOS AOT sample app LLVM=False STRIP_SYMBOLS=True HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -206,17 +82,17 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App NoLLVM NoSymbols - artifactName: iOSSampleAppNoLLVMNoSymbolsHybridGlobalization + artifactName: iOSSampleAppNoLLVMNoSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=true + - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=False + displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=False HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -228,17 +104,17 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App LLVM - artifactName: iOSSampleAppLLVMSymbolsHybridGlobalization + artifactName: iOSSampleAppLLVMSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS/bin workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS displayName: Clean bindir - - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true HYBRID_GLOBALIZATION=true + - script: make build-appbundle TARGET=ios MONO_ARCH=arm64 MONO_CONFIG=Release AOT=True USE_LLVM=True DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS - displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=True + displayName: Build HelloiOS AOT sample app LLVM=True STRIP_SYMBOLS=True HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -250,16 +126,16 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App LLVM NoSymbols - artifactName: iOSSampleAppLLVMNoSymbolsHybridGlobalization + artifactName: iOSSampleAppLLVMNoSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip - - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSNativeAOT'), eq(parameters.hybridGlobalization, True)) }}: - - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=true + - ${{ if and(eq(parameters.osGroup, 'ios'), eq(parameters.nameSuffix, 'iOSNativeAOT')) }}: + - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=false HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT - displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=False + displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=False HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -271,17 +147,17 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App Symbols - artifactName: iOSSampleAppSymbolsHybridGlobalization + artifactName: iOSSampleAppSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip - script: rm -r -f $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT displayName: Clean bindir - - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true HYBRID_GLOBALIZATION=true + - script: make hello-app TARGET_OS=ios TARGET_ARCH=arm64 BUILD_CONFIG=Release DEPLOY_AND_RUN=false STRIP_DEBUG_SYMBOLS=true HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} env: DevTeamProvisioning: '-' workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT - displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=True + displayName: Build HelloiOS Native AOT sample app STRIP_SYMBOLS=True HYBRID_GLOBALIZATION=${{ parameters.hybridGlobalization }} - task: PublishBuildArtifacts@1 condition: succeededOrFailed() displayName: 'Publish binlog' @@ -293,6 +169,6 @@ steps: rootFolder: $(Build.SourcesDirectory)/src/mono/sample/iOS-NativeAOT/bin/ios-arm64/Bundle/HelloiOS/Release-iphoneos/HelloiOS.app includeRootFolder: true displayName: iOS Sample App NoSymbols - artifactName: iOSSampleAppNoSymbolsHybridGlobalization + artifactName: iOSSampleAppNoSymbols${{ parameters.hybridGlobalizationString }} archiveExtension: '.zip' archiveType: zip diff --git a/eng/pipelines/coreclr/templates/perf-job.yml b/eng/pipelines/coreclr/templates/perf-job.yml index b38085be58af3..380b85cc4bf38 100644 --- a/eng/pipelines/coreclr/templates/perf-job.yml +++ b/eng/pipelines/coreclr/templates/perf-job.yml @@ -69,6 +69,12 @@ jobs: ${{ if and(eq(parameters.runtimeType, 'wasm'), ne(parameters.codeGenType, 'aot')) }}: helixTypeSuffix: '/wasm' + # Set Hybrid_globalization string for artifact name + ${{ if eq(parameters.hybridGlobalization, False) }}: + hybridGlobalizationString: '' + ${{ if eq(parameters.hybridGlobalization, True) }}: + hybridGlobalizationString: 'HybridGlobalization' + collectHelixLogsScript: ${{ parameters.collectHelixLogsScript }} # Test job depends on the corresponding build job @@ -238,42 +244,24 @@ jobs: parameters: unpackFolder: $(Build.SourcesDirectory)/iosHelloWorld cleanUnpackFolder: false - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoLLVMSymbols' - artifactFileName: 'iOSSampleAppNoLLVMSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoLLVMNoSymbols' - artifactFileName: 'iOSSampleAppNoLLVMNoSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppLLVMSymbols' - artifactFileName: 'iOSSampleAppLLVMSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppLLVMNoSymbols' - artifactFileName: 'iOSSampleAppLLVMNoSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppSymbols' - artifactFileName: 'iOSSampleAppSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoSymbols' - artifactFileName: 'iOSSampleAppNoSymbols.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoLLVMSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppNoLLVMSymbolsHybridGlobalization.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoLLVMNoSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppNoLLVMNoSymbolsHybridGlobalization.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppLLVMSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppLLVMSymbolsHybridGlobalization.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppLLVMNoSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppLLVMNoSymbolsHybridGlobalization.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppSymbolsHybridGlobalization.zip' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoSymbolsHybridGlobalization' - artifactFileName: 'iOSSampleAppNoSymbolsHybridGlobalization.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppNoLLVMSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppNoLLVMSymbols${{ parameters.hybridGlobalizationString }}.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppNoLLVMNoSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppNoLLVMNoSymbols${{ parameters.hybridGlobalizationString }}.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppLLVMSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppLLVMSymbols${{ parameters.hybridGlobalizationString }}.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppLLVMNoSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppLLVMNoSymbols${{ parameters.hybridGlobalizationString }}.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppSymbols${{ parameters.hybridGlobalizationString }}.zip' + ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppNoSymbols${{ parameters.hybridGlobalizationString }}' + artifactFileName: 'iOSSampleAppNoSymbols${{ parameters.hybridGlobalizationString }}.zip' displayName: 'iOS Sample App' # same artifact as above but don't extract .zip - task: DownloadBuildArtifacts@0 @@ -282,30 +270,18 @@ jobs: buildType: current downloadType: single downloadPath: '$(Build.SourcesDirectory)/iosHelloWorldZip' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoLLVMSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoLLVMNoSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppLLVMSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppLLVMNoSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'False')) }}: - artifactName: 'iOSSampleAppNoSymbols' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoLLVMSymbolsHybridGlobalization' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoLLVMNoSymbolsHybridGlobalization' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppLLVMSymbolsHybridGlobalization' - ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppLLVMNoSymbolsHybridGlobalization' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppSymbolsHybridGlobalization' - ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True'), eq(parameters.hybridGlobalization, 'True')) }}: - artifactName: 'iOSSampleAppNoSymbolsHybridGlobalization' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppNoLLVMSymbols${{ parameters.hybridGlobalizationString }}' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'False'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppNoLLVMNoSymbols${{ parameters.hybridGlobalizationString }}' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppLLVMSymbols${{ parameters.hybridGlobalizationString }}' + ${{ if and(eq(parameters.runtimeType, 'iOSMono'), eq(parameters.iOSLlvmBuild, 'True'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppLLVMNoSymbols${{ parameters.hybridGlobalizationString }}' + ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'False')) }}: + artifactName: 'iOSSampleAppSymbols${{ parameters.hybridGlobalizationString }}' + ${{ if and(eq(parameters.runtimeType, 'iOSNativeAOT'), eq(parameters.iOSStripSymbols, 'True')) }}: + artifactName: 'iOSSampleAppNoSymbols${{ parameters.hybridGlobalizationString }}' checkDownloadedFiles: true # Create Core_Root