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

[.NET] Proof-of-concept of removing ObjCRuntime.nfloat in favor of System.Runtime.InteropServices.NFloat. #13845

Closed
wants to merge 17 commits into from

Conversation

rolfbjarne
Copy link
Member

** DRAFT PR ** PROCEED AT OWN RISK **

  • Builds our code.
  • Builds monotouch-test for macOS and completes successfully.

This is just to get some CI on this.

@rolfbjarne rolfbjarne added not-notes-worthy Ignore for release notes run-dotnet-tests Run all the .NET tests labels Jan 21, 2022
@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

⚠️ API Diff (from PR only) (🔥 breaking changes 🔥)

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

Generator diff

ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

73 tests failed, 73 tests passed.

Failed tests

  • introspection/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • introspection/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • introspection/tvOS - simulator/Debug [dotnet]: BuildFailure
  • monotouch-test/Mac [dotnet]/Debug [dotnet]: BuildFailure
  • monotouch-test/Mac [dotnet]/Debug (static registrar) [dotnet]: BuildFailure
  • monotouch-test/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk) [dotnet]: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar) [dotnet]: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations) [dotnet]: BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/iOS Unified 64-bits - simulator/Release (all optimizations): BuildFailure
  • monotouch-test/tvOS - simulator/Debug [dotnet]: BuildFailure
  • monotouch-test/tvOS - simulator/Debug: BuildFailure
  • monotouch-test/tvOS - simulator/Debug (LinkSdk) [dotnet]: BuildFailure
  • monotouch-test/tvOS - simulator/Debug (static registrar) [dotnet]: BuildFailure
  • monotouch-test/tvOS - simulator/Release (all optimizations) [dotnet]: BuildFailure
  • monotouch-test/tvOS - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/tvOS - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/tvOS - simulator/Release (all optimizations): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug: BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): BuildFailure
  • dont link/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • dont link/Mac Catalyst [dotnet]/Release [dotnet]: BuildFailure
  • dont link/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • dont link/iOS Unified 64-bits - simulator/Release [dotnet]: BuildFailure
  • dont link/tvOS - simulator/Debug [dotnet]: BuildFailure
  • dont link/tvOS - simulator/Release [dotnet]: BuildFailure
  • link sdk/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • link sdk/Mac Catalyst [dotnet]/Release [dotnet]: BuildFailure
  • link sdk/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • link sdk/iOS Unified 64-bits - simulator/Release [dotnet]: BuildFailure
  • link sdk/tvOS - simulator/Debug [dotnet]: BuildFailure
  • link sdk/tvOS - simulator/Release [dotnet]: BuildFailure
  • link all/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • link all/Mac Catalyst [dotnet]/Release [dotnet]: BuildFailure
  • link all/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • link all/iOS Unified 64-bits - simulator/Release [dotnet]: BuildFailure
  • link all/tvOS - simulator/Debug [dotnet]: BuildFailure
  • link all/tvOS - simulator/Release [dotnet]: BuildFailure
  • trimmode copy/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • trimmode copy/Mac Catalyst [dotnet]/Release [dotnet]: BuildFailure
  • trimmode copy/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • trimmode copy/iOS Unified 64-bits - simulator/Release [dotnet]: BuildFailure
  • trimmode copy/tvOS - simulator/Debug [dotnet]: BuildFailure
  • trimmode copy/tvOS - simulator/Release [dotnet]: BuildFailure
  • trimmode link/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • trimmode link/Mac Catalyst [dotnet]/Release [dotnet]: BuildFailure
  • trimmode link/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • trimmode link/iOS Unified 64-bits - simulator/Release [dotnet]: BuildFailure
  • trimmode link/tvOS - simulator/Debug [dotnet]: BuildFailure
  • trimmode link/tvOS - simulator/Release [dotnet]: BuildFailure
  • fsharp/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • fsharp/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • fsharp/tvOS - simulator/Debug [dotnet]: BuildFailure
  • framework-test/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • framework-test/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • framework-test/tvOS - simulator/Debug [dotnet]: BuildFailure
  • interdependent-binding-projects/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • interdependent-binding-projects/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • interdependent-binding-projects/tvOS - simulator/Debug [dotnet]: BuildFailure
  • xcframework-test/Mac Catalyst [dotnet]/Debug [dotnet]: BuildFailure
  • xcframework-test/iOS Unified 64-bits - simulator/Debug [dotnet]: BuildFailure
  • xcframework-test/tvOS - simulator/Debug [dotnet]: BuildFailure
  • xammac tests/Mac Modern/Debug: BuildFailure
  • xammac tests/Mac Modern/Release: BuildFailure
  • xammac tests/Mac Modern/Release (all optimizations): BuildFailure
  • MSBuild tests/Integration: Failed (Execution failed with exit code 5)
  • DotNet tests: Failed (Execution failed with exit code 1)

Pipeline on Agent XAMBOT-1096.BigSur'
Merge af21bc6 into 1e8c9e8

Copy link
Contributor

@chamons chamons left a comment

Choose a reason for hiding this comment

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

Got about 1/2 through when you realized you asked me to review the wrong PR. :)

* Code that references the full typename, `System.nfloat` won't compile.

Fix: use `ObjCRuntime.nfloat` instead.
// TODO: explain more
Copy link
Contributor

Choose a reason for hiding this comment

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

Reminder before this goes live ^

xamarin_NFloat_objc_msgSend_exception (id self, SEL sel, GCHandle *exception_gchandle)
{
@try {
#if defined(__i386__)
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we expect NET6 + 32-bit to be a thing?

@vs-mobiletools-engineering-service2
Copy link
Collaborator

❌ [PR Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API Current PR diff

ℹ️ API Diff (from PR only) (please review changes)

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

Generator diff

ℹ️ Generator Diff (please review changes)

GitHub pages

Results can be found in the following github pages (it might take some time to publish):

Test results

3 tests failed, 143 tests passed.

Failed tests

  • monotouch-test/Mac Catalyst [dotnet]/Debug [dotnet]: Failed (Test run failed.
    Tests run: 2755 Passed: 2561 Inconclusive: 11 Failed: 2 Ignored: 192)
  • MSBuild tests/Integration: Failed (Execution failed with exit code 4)
  • DotNet tests: Failed (Execution failed with exit code 1)

Pipeline on Agent XAMBOT-1097.BigSur'
Merge 9096a27 into bcbb7b3

@rolfbjarne
Copy link
Member Author

The final PR is up: #14197.

@rolfbjarne rolfbjarne closed this Feb 23, 2022
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 run-dotnet-tests Run all the .NET tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants