Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prebuild for windows arm64 #167

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,38 @@ 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:
- if: matrix.os == 'macos-11'
run: sudo -H pip install setuptools
- if: matrix.node
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- { os: ubuntu-latest, arch: x64 }
- { os: windows-2019, arch: x64 }
steps:
- if: matrix.config.os == 'macos-latest'
run: sudo -H pip install setuptools
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
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
Loading