Skip to content

Commit

Permalink
Merge pull request #81 from vdurante/main
Browse files Browse the repository at this point in the history
Add libyrs.dylib built for osx arm
  • Loading branch information
SebastianStehle authored Jan 12, 2024
2 parents 070adb5 + 7379c05 commit 94abadd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,17 @@ jobs:
cross: true

# macOS
- build: macos
- build: macos-x86_64
os: macos-latest
rust: stable
target: x86_64-apple-darwin
cross: false

- build: macos-aarch64
os: macos-latest
rust: stable
target: aarch64-apple-darwin
cross: false

steps:
- name: Checkout
Expand Down
3 changes: 2 additions & 1 deletion native/YDotNet.Native.MacOS/YDotNet.Native.MacOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<ItemGroup>
<Content Include="..\..\output\macos\libyrs.dylib" Pack="True" PackagePath="runtimes\osx\native\%(Filename)%(Extension)" />
<Content Include="..\..\output\macos-x86_64\libyrs.dylib" Pack="True" PackagePath="runtimes\osx-x64\native\%(Filename)%(Extension)" />
<Content Include="..\..\output\macos-aarch64\libyrs.dylib" Pack="True" PackagePath="runtimes\osx-arm64\native\%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 94abadd

Please sign in to comment.