Update Maui Workload Install Process for Perf #64692
Update Maui Workload Install Process for Perf #64692LoopedBard3 merged 22 commits intodotnet:mainfrom
Conversation
…test if new dotnet version can be installed similar to how it is done in the Maui repo.
…r workload install.
|
Tagging subscribers to this area: @hoyosjs Issue DetailsFixes dotnet/performance#2230, where an error with installing the latest Maui workload would occur but not error out the pipeline. This fixes that by installing the latest 6.0.2xx dotnet sdk for installing the workload and building the Maui apps.
|
|
Perf run succeeded where expected on a private run, merging. |
| curl -o dotnet-install.sh 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh' | ||
| chmod -R a+rx . | ||
| ./dotnet-install.sh --channel 6.0.2xx --quality signed --install-dir . | ||
| ./dotnet --info |
There was a problem hiding this comment.
What's this line for? Is it needed?
| - script: | | ||
| chmod -R a+r . | ||
| ../dotnet.sh publish -bl:MauiiOS.binlog -f net6.0-ios -c Release | ||
| ../dotnet build -bl:MauiiOS.binlog -f net6.0-ios -c Release |
There was a problem hiding this comment.
What I've found to work is:
- Remove the
net6.0-maccatalystTFM from theTargetFrameworksproperty in the .csproj. dotnet publish -c Release -f net6.0-ios -r ios-arm64
I've logged dotnet/macios#14015 for this, which was closed in favor of dotnet/sdk#21877.
| - script: | | ||
| chmod -R a+r . | ||
| ../dotnet.sh publish -bl:MauiMacCatalyst.binlog -f net6.0-maccatalyst -c Release | ||
| ../dotnet publish -bl:MauiMacCatalyst.binlog -f net6.0-maccatalyst -c Release |
There was a problem hiding this comment.
Do we care about maccatalyst size? I'm not certain this is an important scenario to track. It may just be wasting resources and cluttering the perf dashboard.
* Add dotnet install and run to test if new dotnet version can be installed similar to how it is done in the Maui repo. * Download and use local dotnet version. * Use updated dotnet for more of the pipeline. * Test with made runtime packs and and add ios arm pack substitution. * Try building instead of publishing. * Reenable everything for full test run. * Package name now seems to default to lower case, at least for maui.
* Add dotnet install and run to test if new dotnet version can be installed similar to how it is done in the Maui repo. * Download and use local dotnet version. * Use updated dotnet for more of the pipeline. * Test with made runtime packs and and add ios arm pack substitution. * Try building instead of publishing. * Reenable everything for full test run. * Package name now seems to default to lower case, at least for maui.
Fixes dotnet/performance#2230, where an error with installing the latest Maui workload would occur but not error out the pipeline. This fixes that by installing the latest 6.0.2xx dotnet sdk for installing the workload and building the Maui apps. Includes some minor name fixes and adds ios runtime building.