Skip to content

Commit 321868b

Browse files
authored
[Performance] Add static linking build for CoreCLR Android (#116093)
* Update performance repository reference in perf.yml * Add CoreCLR JIT static linking build for Android sample app * Remove reference to performance branch * Fix formatting
1 parent 29b1e99 commit 321868b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

eng/pipelines/performance/templates/build-perf-sample-apps.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,29 @@ steps:
7878
workingDirectory: $(Build.SourcesDirectory)/artifacts/bin
7979
displayName: clean bindir
8080

81+
# CoreCLR JIT static linking build
82+
- script: make run TARGET_ARCH=arm64 DEPLOY_AND_RUN=false RUNTIME_FLAVOR=CoreCLR STATIC_LINKING=true
83+
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/Android
84+
displayName: Build HelloAndroid sample app RUNTIME_FLAVOR=CoreCLR STATIC_LINKING=true
85+
- task: PublishBuildArtifacts@1
86+
condition: succeededOrFailed()
87+
displayName: 'Publish binlog'
88+
inputs:
89+
pathtoPublish: $(Build.SourcesDirectory)/src/mono/sample/Android/msbuild.binlog
90+
artifactName: AndroidCoreCLRArm64StaticLinkingBuildLog
91+
- template: /eng/pipelines/common/upload-artifact-step.yml
92+
parameters:
93+
rootFolder: $(Build.SourcesDirectory)/artifacts/bin/AndroidSampleApp/arm64/Release/android-arm64/Bundle/bin/HelloAndroid.apk
94+
includeRootFolder: true
95+
displayName: Android Sample App JIT CoreCLR Static Linking
96+
artifactName: AndroidHelloWorldArm64CoreCLRStaticLinking
97+
archiveExtension: '.tar.gz'
98+
archiveType: tar
99+
tarCompression: gz
100+
- script: rm -r -f $(Build.SourcesDirectory)/artifacts/bin/AndroidSampleApp
101+
workingDirectory: $(Build.SourcesDirectory)/artifacts/bin
102+
displayName: clean bindir
103+
81104
# CoreCLR R2R build
82105
- script: make run TARGET_ARCH=arm64 DEPLOY_AND_RUN=false RUNTIME_FLAVOR=CoreCLR R2R=true
83106
workingDirectory: $(Build.SourcesDirectory)/src/mono/sample/Android

0 commit comments

Comments
 (0)