Skip to content

Commit

Permalink
fix: Fix aarch build (set path to have cyrus-sasl
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Sep 27, 2023
1 parent 72da036 commit e8133fc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
jsPackageHome: packages/cohort_sdk_js
finalPackageName: packages/cohort_sdk_js/cohort_sdk_js.darwin-arm64.node
customiseHostCommand: |-
echo "find / -name libsasl2" &&
find / -name libsasl2 &&
brew update && brew install cyrus-sasl &&
export PKG_CONFIG_PATH="/usr/local/opt/cyrus-sasl/lib/pkgconfig" &&
echo '\n' >> /Users/runner/.bash_profile &&
echo 'PATH=/usr/local/opt/cyrus-sasl/sbin:$PATH' >> /Users/runner/.bash_profile &&
echo "ls -lah $PKG_CONFIG_PATH" && ls -lah $PKG_CONFIG_PATH &&
echo "cat /Users/runner/.bash_profile" && cat /Users/runner/.bash_profile
echo "find / -name libsasl2" &&
find / -name libsasl2
buildCommand: npm run build -- --target aarch64-apple-darwin

- host: windows-latest
Expand Down

0 comments on commit e8133fc

Please sign in to comment.