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 9487ebe commit 861ea11
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
DEBUG: "napi:*"
OPENSSL_DIR: /usr/local/Cellar/[email protected]/1.1.1w
SASL2_DIR: /usr/local/Cellar/cyrus-sasl/2.1.28_2
LDFLAGS: "-L/usr/local/Cellar/[email protected]/1.1.1w/lib -L/usr/local/Cellar/cyrus-sasl/2.1.28_2/lib"
CPPFLAGS: "-I/usr/local/Cellar/[email protected]/1.1.1w/include -I/usr/local/Cellar/cyrus-sasl/2.1.28_2/include"
LDFLAGS: "-L/usr/local/Cellar/[email protected]/1.1.1w/lib -L/usr/local/opt/cyrus-sasl/lib"
CPPFLAGS: "-I/usr/local/Cellar/[email protected]/1.1.1w/include -I/usr/local/opt/cyrus-sasl/include"
jobs:
npm:
strategy:
Expand Down Expand Up @@ -44,10 +44,16 @@ jobs:
echo 'find $(brew --prefix) -name "sasl.h"'
find $(brew --prefix) -name "sasl.h"
echo ""
ls -lah /usr/local/opt
echo "ls -l LDFLAGS"
ls -lah /usr/local/Cellar/[email protected]/1.1.1w/lib
ls -lah /usr/local/Cellar/cyrus-sasl/2.1.28_2/lib
ls -lah /usr/local/opt/cyrus-sasl/lib
echo ""
echo "rustup toolchain list before isntall"
rustup toolchain list
rustup toolchain install stable-aarch64-apple-darwin
echo ""
echo "rustup toolchain list after isntall"
rustup toolchain list
buildCommand: npm run build -- --target aarch64-apple-darwin

# - host: windows-latest
Expand Down

0 comments on commit 861ea11

Please sign in to comment.