diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index ecf9d8af..522c65fa 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -6,8 +6,8 @@ env: DEBUG: "napi:*" OPENSSL_DIR: /usr/local/Cellar/openssl@1.1/1.1.1w SASL2_DIR: /usr/local/Cellar/cyrus-sasl/2.1.28_2 - LDFLAGS: "-L/usr/local/Cellar/openssl@1.1/1.1.1w/lib -L/usr/local/Cellar/cyrus-sasl/2.1.28_2/lib" - CPPFLAGS: "-I/usr/local/Cellar/openssl@1.1/1.1.1w/include -I/usr/local/Cellar/cyrus-sasl/2.1.28_2/include" + LDFLAGS: "-L/usr/local/Cellar/openssl@1.1/1.1.1w/lib -L/usr/local/opt/cyrus-sasl/lib" + CPPFLAGS: "-I/usr/local/Cellar/openssl@1.1/1.1.1w/include -I/usr/local/opt/cyrus-sasl/include" jobs: npm: strategy: @@ -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/openssl@1.1/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