Skip to content

Commit e07f332

Browse files
committed
Add CodegeType to mobile iOS runs and setup RuntimeType and CodegenType to be saved as configurations.
1 parent 67232b6 commit e07f332

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

eng/pipelines/sdk-perf-jobs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ jobs:
439439
channels:
440440
- main
441441
runtimeFlavor: mono
442+
codeGenType: FullAOT
442443
additionalJobIdentifier: Mono
443444
${{ each parameter in parameters.jobParameters }}:
444445
${{ parameter.key }}: ${{ parameter.value }}
@@ -456,6 +457,7 @@ jobs:
456457
channels:
457458
- main
458459
runtimeFlavor: coreclr
460+
codeGenType: NativeAOT
459461
additionalJobIdentifier: CoreCLR
460462
${{ each parameter in parameters.jobParameters }}:
461463
${{ parameter.key }}: ${{ parameter.value }}

scripts/run_performance_job.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,13 @@ def run_performance_job(args: RunPerformanceJobArgs):
548548
configurations["CodegenType"] = str(args.codegen_type)
549549
configurations["RuntimeType"] = str(args.runtime_flavor)
550550

551+
# .NET iOS and .NET MAUI iOS sample app scenarios
552+
if args.run_kind == "maui_scenarios_ios":
553+
if not args.runtime_flavor in ("mono", "coreclr"):
554+
raise Exception("Runtime flavor must be specified for maui_scenarios_ios")
555+
configurations["CodegenType"] = str(args.codegen_type)
556+
configurations["RuntimeType"] = str(args.runtime_flavor)
557+
551558
if ios_mono:
552559
runtime_type = "Mono"
553560
configurations["iOSLlvmBuild"] = str(args.ios_llvm_build)

0 commit comments

Comments
 (0)