-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Run device tests on the previous TFMs #23896
Conversation
7d5a947
to
37d60a2
Compare
b1ad8ba
to
df3e1d6
Compare
df3e1d6
to
394c399
Compare
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.
Can we put what this is trying to do in the description? I don't know what I would be reviewing here.
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.
Generally, I wonder if things even work on .NET 8, as we depend on several "new" features that might be .NET 9-only:
src/Compatibility/Core/src/Android/AppCompat/FormsFragmentPagerAdapter.cs
Outdated
Show resolved
Hide resolved
src/Controls/src/Core/Platform/Android/MultiPageFragmentStateAdapter.cs
Outdated
Show resolved
Hide resolved
// TODO: remove this if as we should be able to build tizen net8 | ||
if (framework != DotNetPrevious) | ||
EnableTizen(projectFile); |
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.
Should we indent this line, or put { }
around it?
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.
This is just a temporary fix for now until Tizen fixes their workloads. Right now there is an issue and I am still working with them to get it fixed - hopefully in the RCs
src/TestUtils/src/Microsoft.Maui.IntegrationTests/TemplateTests.cs
Outdated
Show resolved
Hide resolved
src/Controls/src/Core/Compatibility/Handlers/Shell/Android/ShellSearchViewAdapter.cs
Outdated
Show resolved
Hide resolved
This is a previous run of device tests with net8 and net9 - all green basically: https://dev.azure.com/xamarin/public/_build/results?buildId=121055&view=results |
I see this PR was merged into preview7 already: #24041 This PR is now going to just become a PR to add a bunch of extra device tests and template tests to cover all the new cases in the matrix of amazement that is maui. |
# Conflicts: # eng/Versions.props # eng/pipelines/common/maui-templates.yml # eng/pipelines/device-tests.yml # src/TestUtils/src/Microsoft.Maui.IntegrationTests/TemplateTests.cs
70544ae
to
603c831
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/rebase |
We've turned this feature off for net9 So for now I'm going to close this Once we start rolling net10 we can add this into net10 |
Description of Change
Build the previous TFMs to allow for early testing of APIs.
Just like the way we build .NET 8 TFMs for Essentials and Graphics on the net9.0, this PR just extends the logic to also build .NET 8 for all projects.
This is very late now and maybe not super valuable, but still good to get in so we can test. For .NET 10, this will be very helpful so people can test and play with .NET MAUI 10 APIs with the .NET 9 stable SDK.