Skip to content

Commit

Permalink
fix: Fix openssl dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Sep 29, 2023
1 parent 12dbf7c commit 474477a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ jobs:
target: aarch64-apple-darwin
jsPackageHome: packages/cohort_sdk_js
finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-arm64.node
customiseHostCommand: echo 'No customizations are needed'
customiseHostCommand: |-
touch ~/.cargo/config
cat <<EOT >> ~/.cargo/config
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
EOT
echo "~/.cargo/config"
cat ~/.cargo/config
buildCommand: npm run build -- --target aarch64-apple-darwin

# - host: windows-latest
Expand Down

0 comments on commit 474477a

Please sign in to comment.