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 9b03e3a commit aa92b0d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@ on:
push:
env:
DEBUG: "napi:*"
OPENSSL_DIR: /usr/local
OPENSSL_LIB_DIR: /usr/local/lib
jobs:
npm:
strategy:
fail-fast: false
matrix:
settings:
- host: macos-latest
target: x86_64-apple-darwin
jsPackageHome: packages/cohort_sdk_js
finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-x64.node
customiseHostCommand: echo 'No customizations are needed'
buildCommand: npm run build -- --target x86_64-apple-darwin
# - host: macos-latest
# target: x86_64-apple-darwin
# jsPackageHome: packages/cohort_sdk_js
# finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-x64.node
# customiseHostCommand: echo 'No customizations are needed'
# buildCommand: npm run build -- --target x86_64-apple-darwin

- host: macos-latest
target: aarch64-apple-darwin
Expand All @@ -24,13 +26,8 @@ jobs:
customiseHostCommand: |-
env
find $(brew --prefix) -name "libcrypto.*"
export OPENSSL_DIR=/usr/local
export OPENSSL_LIB_DIR=/usr/local/lib
brew install FiloSottile/musl-cross/musl-cross
brew install FiloSottile/musl-cross/musl-cross --with-aarch64
brew install [email protected]
brew --prefix
find $(brew --prefix) -name "libcrypto.*"
env
buildCommand: npm run build -- --target aarch64-apple-darwin

Expand Down

0 comments on commit aa92b0d

Please sign in to comment.