From 33aaf1d72965733b7816b278c6ea2d594a9199d7 Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Fri, 2 Apr 2021 12:41:34 +0000
Subject: [PATCH] Update dependencies from https://github.com/dotnet/arcade
build 20210401.6 (#775)
[main] Update dependencies from dotnet/arcade
---
eng/Version.Details.xml | 4 +--
eng/common/performance/android_scenarios.proj | 34 +++++++++++++++++++
eng/common/performance/performance-setup.ps1 | 13 ++++++-
global.json | 2 +-
4 files changed, 49 insertions(+), 4 deletions(-)
create mode 100644 eng/common/performance/android_scenarios.proj
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index eb9026f3d8..fb3632c5e5 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -3,9 +3,9 @@
-
+
https://github.com/dotnet/arcade
- e9cdc025014eb2030075303211fdb5af254e278c
+ 8efbcc6582eec1d064bbb44af1f1107ca7736c7f
diff --git a/eng/common/performance/android_scenarios.proj b/eng/common/performance/android_scenarios.proj
new file mode 100644
index 0000000000..a9d4ce9eb1
--- /dev/null
+++ b/eng/common/performance/android_scenarios.proj
@@ -0,0 +1,34 @@
+
+
+ python3
+ $(HelixPreCommands);chmod +x $HELIX_WORKITEM_PAYLOAD/SOD/SizeOnDisk
+
+
+
+
+ %(Identity)
+
+
+
+
+ %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\
+
+
+ $HELIX_CORRELATION_PAYLOAD/performance/src/scenarios/
+
+
+
+
+ $(WorkItemDirectory)
+ cd $(ScenarioDirectory)helloandroid;copy %HELIX_CORRELATION_PAYLOAD%\HelloAndroid.apk .;$(Python) pre.py
+ $(Python) test.py sod --scenario-name "%(Identity)"
+ $(Python) post.py
+
+
+ $(WorkItemDirectory)
+ cd $(ScenarioDirectory)helloandroid;copy %HELIX_CORRELATION_PAYLOAD%\HelloAndroid.apk .;$(Python) pre.py --unzip
+ $(Python) test.py sod --scenario-name "%(Identity)"
+ $(Python) post.py
+
+
+
\ No newline at end of file
diff --git a/eng/common/performance/performance-setup.ps1 b/eng/common/performance/performance-setup.ps1
index b6324039ad..b18599edab 100644
--- a/eng/common/performance/performance-setup.ps1
+++ b/eng/common/performance/performance-setup.ps1
@@ -19,7 +19,8 @@ Param(
[switch] $Compare,
[string] $MonoDotnet="",
[string] $Configurations="CompilationMode=$CompilationMode RunKind=$Kind",
- [string] $LogicalMachine=""
+ [string] $LogicalMachine="",
+ [switch] $AndroidMono
)
$RunFromPerformanceRepo = ($Repository -eq "dotnet/performance") -or ($Repository -eq "dotnet-performance")
@@ -41,6 +42,7 @@ if ($Internal) {
"perftiger" { $Queue = "Windows.10.Amd64.19H1.Tiger.Perf" }
"perfowl" { $Queue = "Windows.10.Amd64.20H2.Owl.Perf" }
"perfsurf" { $Queue = "Windows.10.Arm64.Perf.Surf" }
+ "perfpixel4a" { $Queue = "Windows.10.Amd64.Pixel.Perf" }
Default { $Queue = "Windows.10.Amd64.19H1.Tiger.Perf" }
}
$PerfLabArguments = "--upload-to-perflab-container"
@@ -102,6 +104,15 @@ if ($UseBaselineCoreRun) {
Move-Item -Path $BaselineCoreRootDirectory -Destination $NewBaselineCoreRoot
}
+if ($AndroidMono) {
+ if(!(Test-Path $WorkItemDirectory))
+ {
+ mkdir $WorkItemDirectory
+ }
+ Copy-Item -path "$SourceDirectory\artifacts\bin\AndroidSampleApp\arm64\Release\android-arm64\publish\apk\bin\HelloAndroid.apk" $PayloadDirectory
+ $SetupArguments = $SetupArguments -replace $Architecture, 'arm64'
+}
+
$DocsDir = (Join-Path $PerformanceDirectory "docs")
robocopy $DocsDir $WorkItemDirectory
diff --git a/global.json b/global.json
index acbaf2152f..a07a06d7be 100644
--- a/global.json
+++ b/global.json
@@ -17,6 +17,6 @@
"xcopy-msbuild": "16.8.0-preview2.1"
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21181.6"
+ "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21201.6"
}
}