Skip to content

Commit 55a9741

Browse files
authored
ci: add windows arm build (#442)
1 parent 8c8e0ee commit 55a9741

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
- os: windows-2019
2121
arch: x64
2222
build-group: win32-x64
23-
env:
24-
BUILD_GROUP: ${{ matrix.build-group }}
23+
- os: windows-11-arm
24+
arch: arm64
25+
build-group: win32-arm64
2526
steps:
2627
- uses: actions/checkout@v4
2728
- uses: actions/setup-node@v4
@@ -32,7 +33,7 @@ jobs:
3233
- run: npm run lint
3334
- run: npm test
3435
- name: Prebuildify
35-
run: npm run prebuild-$BUILD_GROUP
36+
run: npm run prebuild
3637
shell: bash
3738
- uses: actions/upload-artifact@v4
3839
with:

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"validate": "npm ls",
1010
"install": "node install.js",
1111
"node-gyp-build": "node-gyp-build",
12-
"prebuild-win32-x86": "prebuildify -t 20.0.0 --strip",
13-
"prebuild-win32-x64": "prebuildify -t 20.0.0 --strip"
12+
"prebuild": "prebuildify -t 20.0.0 --strip"
1413
},
1514
"pre-commit": [
1615
"lint"

0 commit comments

Comments
 (0)