-
Notifications
You must be signed in to change notification settings - Fork 5k
Update Maui Workload Install Process for Perf #64692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c8bcfa8
c8b1e9f
761f6fd
1e02db6
f8dfd7a
c7ed524
059c2d8
0b9fd1e
2ee2c00
1d6b8ce
53d3ed4
dc85b56
4cc32a0
9ada86b
ddaf1e9
9186301
1f59f26
7180249
9253df7
d5f1ae8
8459e47
9aec509
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,14 +110,16 @@ steps: | |
cleanDestinationFolder: false | ||
|
||
- script: | | ||
curl -o ./rollback.json 'maui.blob.core.windows.net/metadata/rollbacks/main.json' | ||
./dotnet.sh workload update --from-rollback-file ./rollback.json | ||
./dotnet.sh workload install maui --skip-manifest-update | ||
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 | ||
./dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/main.json --source https://aka.ms/dotnet6/nuget/index.json --source https://api.nuget.org/v3/index.json | ||
displayName: Install MAUI workload | ||
workingDirectory: $(Build.SourcesDirectory) | ||
|
||
- script: | | ||
./dotnet.sh new maui -n MauiTesting | ||
./dotnet new maui -n MauiTesting | ||
cd MauiTesting | ||
cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.props ./Directory.Build.props | ||
cp $(Build.SourcesDirectory)/src/tests/Common/maui/MauiScenario.targets ./Directory.Build.targets | ||
|
@@ -126,21 +128,21 @@ steps: | |
|
||
- script: | | ||
chmod -R a+r . | ||
../dotnet.sh publish -bl:MauiAndroid.binlog -f net6.0-android -c Release | ||
../dotnet publish -bl:MauiAndroid.binlog -f net6.0-android -c Release | ||
mv ./bin/Release/net6.0-android/com.companyname.MauiTesting-Signed.apk ./MauiAndroidDefault.apk | ||
displayName: Build MAUI Android | ||
workingDirectory: $(Build.SourcesDirectory)/MauiTesting | ||
|
||
- 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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What I've found to work is:
I've logged dotnet/macios#14015 for this, which was closed in favor of dotnet/sdk#21877. |
||
mv ./bin/Release/net6.0-ios/iossimulator-x64/MauiTesting.app ./MauiiOSDefault.app | ||
displayName: Build MAUI iOS | ||
workingDirectory: $(Build.SourcesDirectory)/MauiTesting | ||
|
||
- 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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 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. |
||
mv ./bin/Release/net6.0-maccatalyst/maccatalyst-x64/MauiTesting.app ./MauiMacCatalystDefault.app | ||
displayName: Build MAUI MacCatalyst | ||
workingDirectory: $(Build.SourcesDirectory)/MauiTesting | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this line for? Is it needed?