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 a bindings project for C# nuget #280

Merged
merged 2 commits into from
Jul 15, 2023
Merged

add a bindings project for C# nuget #280

merged 2 commits into from
Jul 15, 2023

Conversation

JssDWt
Copy link
Contributor

@JssDWt JssDWt commented Jun 26, 2023

Add a structure for publishing NuGet packages for the C# bindings.

Supported platforms:

  • linux x64
  • linux arm64
  • osx x64
  • osx arm64
  • windows x64
  • windows x86
  • windows arm
  • ios
  • android

The NuGet package contains compiles binaries for these platforms in the runtimes folder.
These binaries are created in a new github workflow. They are gitignored, because there's no need to check in these binaries. The workflow creates a NuGet package and archives that as a build artifact.

Currently publishing the package to NuGet should be done manually to make sure we don't publish invalid packages. A next step could be to create some compilation / integration tests for each platform.

Windows x86 and arm are not included yet. We can probably trivially add those by compiling the SDK on a Windows box for the aarch64-pc-windows-msvc and i686-pc-windows-msvc.

Also ios and android are not included yet.

For the next steps, here's a reference to Microsoft's RID catalog, where you can find the runtime identifiers.

@JssDWt JssDWt marked this pull request as ready for review July 15, 2023 11:02
@JssDWt JssDWt requested a review from roeierez July 15, 2023 11:03
@JssDWt JssDWt merged commit bde603a into main Jul 15, 2023
1 of 2 checks passed
@JssDWt JssDWt temporarily deployed to github-pages July 15, 2023 11:18 — with GitHub Actions Inactive
@JssDWt JssDWt deleted the dotnet-nuget branch July 15, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant