File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed
Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,12 @@ jobs:
1818 - 22
1919 - 24
2020 os :
21- - macos-latest
21+ - macos-15-intel
2222 - ubuntu-latest
2323 - windows-latest
2424 include :
25+ - arch : arm64
26+ os : macos-latest
2527 - arch : x86
2628 node : 20
2729 os : windows-latest
@@ -44,16 +46,15 @@ jobs:
4446 matrix :
4547 arch :
4648 - x64
47- - x86
4849 os :
4950 - macos-15-intel
5051 - ubuntu-22.04
5152 - windows-latest
52- exclude :
53- - arch : x86
54- os : macos-15-intel
53+ include :
5554 - arch : x86
56- os : ubuntu-22.04
55+ os : windows-latest
56+ - arch : arm64
57+ os : macos-latest
5758 steps :
5859 - uses : actions/checkout@v6
5960 - uses : actions/setup-node@v6
6263 architecture : ${{ matrix.arch }}
6364 - run : npm install
6465 - run : npm run prebuild
65- if : matrix.os != 'macos-15-intel'
66- - run : npm run prebuild-darwin-x64+arm64
67- if : matrix.os == 'macos-15-intel'
6866 - uses : actions/upload-artifact@v5
6967 with :
7068 name : ${{ matrix.os }}-${{ matrix.arch }}
8381 - run : echo "version=$(git describe --tags)" >> $GITHUB_OUTPUT
8482 id : get_version
8583 - run :
86- tar -cvf "${{ steps.get_version.outputs.version
87- }}-darwin-x64+arm64.tar" -C "prebuilds/macos-15-intel-x64"
88- darwin-x64+arm64
84+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-x64.tar" -C
85+ " prebuilds/macos-15-intel-x64" darwin-x64
86+ - run :
87+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-arm64.tar" -C
88+ " prebuilds/macos-latest-arm64" darwin-arm64
8989 - run :
9090 tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
9191 " prebuilds/ubuntu-22.04-x64" linux-x64
Original file line number Diff line number Diff line change 99 "scripts" : {
1010 "install" : " node-gyp-build" ,
1111 "prebuild" : " prebuildify --napi --strip --target=8.11.2" ,
12- "prebuild-darwin-x64+arm64" : " prebuildify --arch x64+arm64 --napi --strip --target=8.11.2" ,
1312 "test" : " mocha"
1413 },
1514 "repository" : {
You can’t perform that action at this time.
0 commit comments