-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Optimize 'APK's .NET' test job overhead. (#7904)
Optimize overhead for `APK's .NET` CI job: * Use new `start-stop-emulator.yaml` template to start the emulator before the tests begin. If the emulator isn't working, then each test step tries to run, waits 10 minutes, and [then errors out][0]: > **PowerShell exited with code '1'.** > Package Tests · macOS > Tests > APKs .NET · run Mono.Android.NET_Tests-Release Instead, let's just error out completely at the beginning if the emulator isn't available. * Bump the emulator timeout to 15 minutes (from 10 minutes). Using public Mac bots can be slow, maybe giving them a little extra time will result in more successful builds. * Call `Xamarin.Android.sln -t:PrepareJavaInterop` with `--no-restore` to prevent it from running restore on the entire solution. * Don't waste time installing unneeded dependencies: * Legacy dotnet * Mono * NUnit.Console * Extra Android SDK platforms [0]: https://user-images.githubusercontent.com/179295/226654253-2d73b593-f7cd-4a1f-bf50-6a105c63283b.png
- Loading branch information
Showing
5 changed files
with
22 additions
and
21 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
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