You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
0 commit comments