Skip to content

Commit

Permalink
added darwin aarch64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
matthme committed Jan 29, 2024
1 parent 8b237a9 commit 3f7bb06
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
set -e &&
yarn build --target x86_64-unknown-linux-gnu &&
strip *.node
- host: macos-latest
target: aarch64-apple-darwin
build: |
yarn build --target aarch64-apple-darwin
strip -x *.node
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down
3 changes: 3 additions & 0 deletions npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@holochain/hc-spin-rust-utils-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `@holochain/hc-spin-rust-utils`
23 changes: 23 additions & 0 deletions npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "@holochain/hc-spin-rust-utils-darwin-arm64",
"version": "0.200.2",
"repository": {
"type": "git",
"url": "https://github.com/holochain/hc-spin-rust-utils",
"directory": "npm/darwin-arm64"
},
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "hc-spin-rust-utils.darwin-arm64.node",
"files": [
"hc-spin-rust-utils.darwin-arm64.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"types": "index.d.ts",
"napi": {
"name": "hc-spin-rust-utils",
"triples": {}
"triples": {
"additional": [
"aarch64-apple-darwin"
]
}
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 3f7bb06

Please sign in to comment.