Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 5, 2025

Adds support for debug configured runs (-c Debug) for MAUI Android and iOS scenario benchmarks by passing buildConfig: debug through the pipeline and into the pre.py publish command.

Changes

scripts/run_performance_job.py

  • Added DEFAULT_BUILD_CONFIG constant for the default "Release" configuration
  • Extended get_run_configurations() to include BuildConfig in configurations for maui_scenarios_android and maui_scenarios_ios run_kinds
  • Added BuildConfig environment variable for MSBuild payload preparation

eng/performance/maui_scenarios_android.proj

  • Added -c $(BuildConfig) to pre.py publish command

eng/performance/maui_scenarios_ios.proj

  • Changed hardcoded -c Release to -c $(BuildConfig)

eng/pipelines/sdk-perf-jobs.yml

  • Added 8 duplicate job definitions with buildConfig: debug for all existing MAUI scenarios:
    • Android: Mono ProfiledAOT, Mono AOT, CoreCLR JIT/R2R/R2RComposite/NativeAOT
    • iOS: Mono FullAOT, CoreCLR NativeAOT
Original prompt

We want to add debug configured runs to the current testing we are doing for the apps in the maui_scenarios_android.proj and the maui_scenarios_ios.proj files. Can you come up with some solutions to getting properly setup debug builds (via passing -c debug into the python pre.py publish command)? The first approach that comes to mind would be to take advantage of the BuildConfig job parameter at the sdk-perf-jobs.yml jobParameters level, passing through buildConfig: debug on a duplicate set of the mobile jobs. Than we could update get_run_configurations in run_performance_job.py to include "BuildConfig" as a configuration for the maui_scenarios_android and maui_scenarios_ios run_kinds. Finally, the _BuildConfig would be passed into the pre.py publish command as the configuration. We would also add this as a part of the RunConfig as string property.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits December 5, 2025 18:23
Co-authored-by: LoopedBard3 <15679138+LoopedBard3@users.noreply.github.com>
Co-authored-by: LoopedBard3 <15679138+LoopedBard3@users.noreply.github.com>
Co-authored-by: LoopedBard3 <15679138+LoopedBard3@users.noreply.github.com>
…emove unnecessary str() conversions

Co-authored-by: LoopedBard3 <15679138+LoopedBard3@users.noreply.github.com>
Copilot AI changed the title [WIP] Add debug configured runs for mobile testing Add debug build configuration support for MAUI Android and iOS scenarios Dec 5, 2025
Copilot AI requested a review from LoopedBard3 December 5, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants