File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed
Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,25 @@ jobs:
1313 matrix :
1414 arch :
1515 - x64
16+ - arm64
1617 node :
1718 - 20
1819 - 22
1920 - 24
2021 os :
2122 - macos-latest
23+ - macos-15-intel
2224 - ubuntu-latest
2325 - windows-latest
26+ exclude :
27+ - arch : arm64
28+ os : macos-15-intel
29+ - arch : arm64
30+ os : ubuntu-latest
31+ - arch : arm64
32+ os : windows-latest
33+ - arch : x64
34+ os : macos-latest
2435 include :
2536 - arch : x86
2637 node : 20
@@ -44,16 +55,15 @@ jobs:
4455 matrix :
4556 arch :
4657 - x64
47- - x86
4858 os :
4959 - macos-15-intel
5060 - ubuntu-22.04
5161 - windows-latest
52- exclude :
53- - arch : x86
54- os : macos-15-intel
62+ include :
5563 - arch : x86
56- os : ubuntu-22.04
64+ os : windows-latest
65+ - arch : arm64
66+ os : macos-latest
5767 steps :
5868 - uses : actions/checkout@v6
5969 - uses : actions/setup-node@v6
6272 architecture : ${{ matrix.arch }}
6373 - run : npm install
6474 - 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'
6875 - uses : actions/upload-artifact@v5
6976 with :
7077 name : ${{ matrix.os }}-${{ matrix.arch }}
8390 - run : echo "version=$(git describe --tags)" >> $GITHUB_OUTPUT
8491 id : get_version
8592 - run :
86- tar -cvf "${{ steps.get_version.outputs.version
87- }}-darwin-x64+arm64.tar" -C "prebuilds/macos-15-intel-x64"
88- darwin-x64+arm64
93+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-x64.tar" -C
94+ " prebuilds/macos-15-intel-x64" darwin-x64
95+ - run :
96+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-arm64.tar" -C
97+ " prebuilds/macos-latest-arm64" darwin-arm64
8998 - run :
9099 tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
91100 " 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