Skip to content
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

Add API-33 to the nightly build #7552

Merged
merged 3 commits into from
Nov 21, 2022
Merged

Add API-33 to the nightly build #7552

merged 3 commits into from
Nov 21, 2022

Conversation

dellis1972
Copy link
Contributor

@dellis1972 dellis1972 commented Nov 11, 2022

Fixes #7490

Lets ass API 33 to the nightly build tests. Note the default image is not available so we have to use the google_apis image instead.

Also it seems that under API 33 dotnet is unable to get the hardware address of the network adapters. As a result the tests which compare these were failing. So for API 33 we ignore the hardware address check, but still continue to check other aspects of the network adapters.

@@ -85,6 +85,9 @@ bool AddressesAreEqual (List <IPAddress> one, List <IPAddress> two)

bool HardwareAddressesAreEqual (byte[] one, byte[] two)
{
// Under API 33 .Net doesn't return the hardware address. So we need to ignore it
if (Android.OS.Build.VERSION.SdkInt == Android.OS.BuildVersionCodes.Tiramisu)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dellis1972: Shouldn't this use >= so that API-34 hits this codepath? Or do we want it to fail on future API-34?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we could. but i'd rather change that in API 34 if or when we hit that issue. This is only in a unit test not the actual System.Net code.

@jonpryor jonpryor merged commit 672a784 into dotnet:main Nov 21, 2022
grendello added a commit to grendello/xamarin-android that referenced this pull request Nov 22, 2022
* main:
  Bump to mono/mono@6dd9def5 (dotnet#7574)
  Bump to dotnet/installer@296eeb3 8.0.100-alpha.1.22570.9 (dotnet#7571)
  [ci] Add API-33 to the nightly build (dotnet#7552)
  [docs] Fix typo in XA0134 (dotnet#7569)
  [docs] how to `dotnet trace` our build (dotnet#7573)
  [Xamarin.Android.Build.Tasks] Useful errors when using binutils (dotnet#7566)
  Bump SQLite to 3.40.0 (dotnet#7564)
grendello added a commit to grendello/xamarin-android that referenced this pull request Nov 22, 2022
* main:
  Bump to mono/mono@6dd9def5 (dotnet#7574)
  Bump to dotnet/installer@296eeb3 8.0.100-alpha.1.22570.9 (dotnet#7571)
  [ci] Add API-33 to the nightly build (dotnet#7552)
  [docs] Fix typo in XA0134 (dotnet#7569)
  [docs] how to `dotnet trace` our build (dotnet#7573)
  [Xamarin.Android.Build.Tasks] Useful errors when using binutils (dotnet#7566)
  Bump SQLite to 3.40.0 (dotnet#7564)
@dellis1972 dellis1972 deleted the nightly33 branch November 30, 2022 15:58
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add API-33 Emulators to Nightly builds
3 participants