We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab5486f commit 1ebefdeCopy full SHA for 1ebefde
.github/workflows/CI.yml
@@ -43,9 +43,15 @@ jobs:
43
npm run build -- --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 &&
44
llvm-strip -x *.node
45
- host: macos-latest
46
+ architecture: x64
47
target: aarch64-apple-darwin
48
build: |
- npm run build --target=aarch64-apple-darwin
49
+ sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
50
+ export CC=$(xcrun -f clang);
51
+ export CXX=$(xcrun -f clang++);
52
+ SYSROOT=$(xcrun --sdk macosx --show-sdk-path);
53
+ export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
54
+ npm run build -- --target aarch64-apple-darwin
55
strip -x *.node
56
- host: ubuntu-latest
57
architecture: x64
0 commit comments