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

[apidiff] Compare Xamarin.iOS between iOS and MacCatalyst #10924

Merged
merged 8 commits into from
Mar 22, 2021

Conversation

spouliot
Copy link
Contributor

@spouliot spouliot commented Mar 19, 2021

Xamarin.MacCatalyst ships a Xamarin.iOS.dll assembly that contains
forwarders (to Xamarin.MacCatalyst.dll) and stubs that throws
PlatformNotSupportedException.

This is used to help code compatibility between both platforms - but
that requires exposing an identical surface and the best way to ensure
this is to compare (and report) them using apidiff

example: https://gist.github.com/spouliot/984c92ce97d2b294088606f0bf697ef8

part of #10210

Xamarin.MacCatalyst ships a `Xamarin.iOS.dll` assembly that contains
forwarders (to `Xamarin.MacCatalyst.dll`) and stubs that throws
`PlatformNotSupportedException`.

This is used to help code compatibility between both platforms - but
that requires exposing an identical surface and the best way to ensure
this is to compare (and report) them using `apidiff`
@spouliot spouliot requested a review from rolfbjarne as a code owner March 19, 2021 19:02
@spouliot spouliot added the not-notes-worthy Ignore for release notes label Mar 19, 2021
@mandel-macaque
Copy link
Member

Needs a small change to add the urls, adding it

@spouliot
Copy link
Contributor Author

@mandel-macaque of course, yaml == You Ask ManueL

@@ -70,6 +71,7 @@ steps:
"iOS" = $apiDiffRoot + "ios-api-diff.html";
"macOS" = $apiDiffRoot + "mac-api-diff.html";
"macCat" = $apiDiffRoot + "maccat-api-diff.html";
"macCatiOS" = $apiDiffRoot + "maccat-to-ios-diff.html";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

there's no .html just .md for this one

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
  • 🔥 iOS 🔥 Missing files
  • 🔥 macOS 🔥 Missing files
  • 🔥 macCat 🔥 Missing files
  • 🔥 macCatiOS 🔥 Missing files
  • 🔥 tvOS 🔥 Missing files
  • 🔥 watchOS 🔥 Missing files

Test results

1 tests failed, 181 tests passed.

Failed tests

  • xcframework-test/Mac Catalyst/Debug: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)

Pipeline on Agent XAMBOT-1095'

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1094'

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ Tests passed on Build. ✅

Tests passed on Build.

API diff

✅ API Diff from stable

View API diff

🎉 All 182 tests passed 🎉

Pipeline on Agent XAMBOT-1096'

@spouliot
Copy link
Contributor Author

last commit is not quite ok (single link for macCat* diffs) c.c. @mandel-macaque
but that can be fixed in a separate PR and let me fix up what this PR already found

@spouliot spouliot merged commit 70c6154 into dotnet:main Mar 22, 2021
@spouliot spouliot deleted the maccat-ios-diff branch March 22, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-notes-worthy Ignore for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants