File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,11 @@ jobs:
1818 strategy :
1919 fail-fast : false
2020 matrix :
21- os :
22- - macos-latest
23- - ubuntu-latest
24- - windows-latest
25- host :
26- - x64
27- target :
28- - x64
29- node :
30- - 10
31- - 11
32- - 12
33- - 13
34- - 14
35- - 15
36- - 16
37- - 17
38- - 18
3921 include :
40- - os : windows -latest
22+ - os : macos -latest
4123 node : 16
4224 host : x64
43- target : x86
25+ target : arm64
4426 name : ${{ matrix.os }} (node=${{ matrix.node }}, host=${{ matrix.host }}, target=${{ matrix.target }})
4527 steps :
4628 - uses : actions/checkout@v3
7456 - name : Build binaries
7557 run : yarn node-pre-gyp build --target_arch=${{ matrix.target }}
7658
59+ - name : Codesign Darwin ARM64 binaries
60+ if : contains(matrix.os, 'macos') && matrix.target == 'arm64'
61+ run : codesign -s - -f -vvvvvv lib/binding/napi-v*/*
62+
7763 - name : Print binary info
7864 if : contains(matrix.os, 'ubuntu')
7965 run : |
8571
8672 - name : Run tests
8773 run : yarn test
74+ if : matrix.target != 'arm64'
8875
8976 - name : Package prebuilt binaries
9077 run : yarn node-pre-gyp package --target_arch=${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments