-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] enable One .NET MSBuild tests
This will enable all MSBuild tests in `Xamarin.Android.Build.Tests.dll` except for the new categories: `DotNetIgnore`, `AOT`, `FSharp`, `LibraryProjectZip`, `MkBundle`, `MonoSymbolicate`, `PackagesConfig`, and `StaticProject`. Reasoning: * `AOT` - need Mono AOT support in .NET 5. * `FSharp` - [Xamarin.Android.FSharp.ResourceProvider][0] support needed on .NET 5. * `LibraryProjectZip` - will need future support in Xamarin.Android. * `MkBundle` - may not ever come to .NET 5. * `MonoSymbolicate` - need symbolication support in .NET 5. * `PackagesConfig` - n/a for .NET 5. * `StaticProject` a few tests that were migrated to `Xamarin.Android.Build.Tests` in d447aa6 are ignored for now. This also reworks our build pipeline to run the MSBuild tests across 12 CI machines: * Windows - Node 1 - Legacy * Windows - Node 2 - Legacy * Windows - Node 3 - Legacy * Windows - Node 1 - One .NET * Windows - Node 2 - One .NET * Windows - Node 3 - One .NET * macOS - Node 1 - Legacy * macOS - Node 2 - Legacy * macOS - Node 3 - Legacy * macOS - Node 1 - One .NET * macOS - Node 2 - One .NET * macOS - Node 3 - One .NET Since this is a lot of machines: 1. I moved all the `One .NET` tests to their own phase. 2. The phase only runs when `RunAllTests=true`. This means the `One .NET` tests will run on master, release branches, and Mono bumps. You can manually queue a build to enable `RunAllTests` on a PR. To be completed in another PR, there are still more test assemblies that need to be run under a `dotnet` context: * `Xamarin.Android.Build.Tests.Commercial.dll` * `MSBuildDeviceIntegration.dll` [0]: https://github.com/xamarin/Xamarin.Android.FSharp.ResourceProvider
- Loading branch information
1 parent
cde97d6
commit 015daae
Showing
18 changed files
with
347 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.