Skip to content

Commit

Permalink
Add prebuild for windows arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
thegecko committed Feb 24, 2024
1 parent 39fd4be commit ad8eb1b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,33 @@ jobs:
os: macos-11
node: x64
command: prebuildify
args: --arch x64+arm64
args: --arch x64+arm64 --target 14.0.0
- name: win32-x86
os: windows-2019
node: x86
command: prebuildify
args: --target 14.0.0
- name: win32-x64
os: windows-2019
node: x64
command: prebuildify
args: --target 14.0.0
- name: win32-arm64
os: windows-2019
command: prebuildify
args: --arch arm64 --target 20.11.1
- name: linux-x64
os: ubuntu-latest
command: prebuildify-cross
args: -i centos7-devtoolset7 -i alpine
args: -i centos7-devtoolset7 -i alpine --target 14.0.0
- name: linux-arm
os: ubuntu-latest
command: prebuildify-cross
args: -i linux-arm64-lts -i linux-armv7 -i linux-armv6
args: -i linux-arm64-lts -i linux-armv7 -i linux-armv6 --target 14.0.0
- name: android-arm
os: ubuntu-latest
command: prebuildify-cross
args: -i android-arm64 -i android-armv7
args: -i android-arm64 -i android-armv7 --target 14.0.0
name: Build ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig-build.json",
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --target 14.0.0 --force --strip --verbose",
"prebuildify-cross": "prebuildify-cross --napi --target 14.0.0 --force --strip --verbose",
"prebuildify": "prebuildify --napi --force --strip --verbose",
"prebuildify-cross": "prebuildify-cross --napi --force --strip --verbose",
"rebuild": "node-gyp rebuild",
"format": "eslint lib test bin --fix",
"lint": "eslint lib test bin && cc --verbose",
Expand Down

0 comments on commit ad8eb1b

Please sign in to comment.