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 7f270b7 commit 7c01b0a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ jobs:
jsPackageHome: packages/cohort_sdk_js
finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-arm64.node
customiseHostCommand: |-
set -a
find $(brew --prefix) -name "libcrypto.*"
echo ""
echo "find /usr/local -name "libsasl2.*""
find /usr/local -name "libsasl2.*"
brew install FiloSottile/musl-cross/musl-cross --with-aarch64
echo "After search for libsasl2"
brew install cyrus-sasl
ls -lah /usr/local/lib/
ls -lah /usr/local/opt/
echo 'export PATH="/usr/local/opt/cyrus-sasl/sbin:$PATH"' >> /Users/runner/.bash_profile
export LDFLAGS="-L/usr/local/opt/cyrus-sasl/lib"
export CPPFLAGS="-I/usr/local/opt/cyrus-sasl/include"
buildCommand: npm run build -- --target aarch64-apple-darwin

# - host: windows-latest
Expand Down

0 comments on commit 7c01b0a

Please sign in to comment.