File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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,31 +55,25 @@ 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
6070 with :
6171 node-version : 20
6272 architecture : ${{ matrix.arch }}
6373 - run : npm install
64- - run : npm run prebuild-darwin-x64+arm64
65- if : matrix.os == 'macos-15-intel'
66- - run : |
67- npm run prebuild
68- npm run prebuild-linux-musl-x64
69- if: matrix.os == 'ubuntu-22.04'
7074 - run : npm run prebuild
71- if : matrix.os == 'windows-latest'
75+ - run : npm run prebuild-linux-musl-x64
76+ if : matrix.os == 'ubuntu-22.04'
7277 - uses : actions/upload-artifact@v5
7378 with :
7479 name : ${{ matrix.os }}-${{ matrix.arch }}
8792 - run : echo "version=$(git describe --tags)" >> $GITHUB_OUTPUT
8893 id : get_version
8994 - run :
90- tar -cvf "${{ steps.get_version.outputs.version
91- }}-darwin-x64+arm64.tar" -C "prebuilds/macos-15-intel-x64"
92- darwin-x64+arm64
95+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-x64.tar" -C
96+ " prebuilds/macos-15-intel-x64" darwin-x64
97+ - run :
98+ tar -cvf "${{ steps.get_version.outputs.version }}-darwin-arm64.tar"
99+ -C "prebuilds/macos-latest-arm64" darwin-arm64
93100 - run :
94101 tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C
95102 " prebuilds/ubuntu-22.04-x64" linux-x64
Original file line number Diff line number Diff line change 1010 "install" : " node-gyp-build" ,
1111 "prebuild" : " prebuildify --napi --strip --target=8.11.2" ,
1212 "prebuild-linux-musl-x64" : " prebuildify-cross --image alpine --napi --strip --target=8.11.2" ,
13- "prebuild-darwin-x64+arm64" : " prebuildify --arch x64+arm64 --napi --strip --target=8.11.2" ,
1413 "test" : " mocha"
1514 },
1615 "files" : [
You can’t perform that action at this time.
0 commit comments