-
Notifications
You must be signed in to change notification settings - Fork 525
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
[ci] Add MAUI integration job #8200
Conversation
5b40528
to
bf90784
Compare
Adds a new MAUI test stage and job that will run against PR builds targeting xamarin-android/main. The new job will build dotnet/maui against the Android packs produced by the PR build. If that is successful, it will install the MAUI packs into Androids dotnet preview sandbox, and create and build a template.
bf90784
to
b4b9d6f
Compare
- template: yaml-templates/stage-msbuild-emulator-tests.yaml | ||
parameters: | ||
usesCleanImages: ${{ parameters.macTestAgentsUseCleanImages }} | ||
|
||
- stage: maui_tests | ||
displayName: MAUI Tests |
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.
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.
LGTM otherwise 👍
retryCountOnTaskFailure: 3 | ||
inputs: | ||
projects: $(Build.SourcesDirectory)/xamarin-android/Xamarin.Android.sln | ||
arguments: -t:InstallMaui -p:MauiUseLocalPacks=true -p:MauiWorkloadToInstall=maui -c $(XA.Build.Configuration) --no-restore -v:n -bl:$(Build.StagingDirectory)/logs/install-maui.binlog |
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.
-p:MauiWorkloadToInstall=maui
would install the ios
workload, for example. I guess that is fine?
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.
I thought this would be easier than trying to edit the target frameworks of the template project file, but we can revisit this if it becomes problematic at all in the future.
* main: [ci] Add MAUI integration job (dotnet#8200)
* main: [ci] Remove .NET branches from classic release trigger (dotnet#8218) Bump to dotnet/installer@f8bab721ae 8.0.100-rc.1.23373.1 (dotnet#8202) [Mono.Android] Fix Context.RegisterReceiver() enumification (dotnet#7735) [ci] Add MAUI integration job (dotnet#8200) [vs-workload] Set EnableSideBySideManifests=true (dotnet#8179)
* main: Bump to dotnet/installer@f8bab721ae 8.0.100-rc.1.23373.1 (dotnet#8202) [Mono.Android] Fix Context.RegisterReceiver() enumification (dotnet#7735) [ci] Add MAUI integration job (dotnet#8200)
Adds a new MAUI test stage and job that will run against PR builds
targeting xamarin-android/main.
The new job will build dotnet/maui against the Android packs produced by
the PR build. If that is successful, it will install the MAUI packs
into Androids dotnet preview sandbox, and create and build a template.