Skip to content

Commit

Permalink
fix: add support for Node.js v21 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk committed Apr 15, 2024
1 parent 3b1c467 commit 41fae07
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 343 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,32 @@ jobs:
matrix:
include:
- os: macos-11
label: x64+arm64
node_arch: x64
command: build:gyp
args: --arch x64+arm64
- os: windows-2019
node_arch: x86
command: build:gyp
- os: windows-2019
label: x64
node_arch: x64
command: build:gyp
- os: ubuntu-20.04
label: alpine
command: build:gyp-cross
args: -i centos7-devtoolset7 -i alpine
- os: ubuntu-20.04
label: armv6+armv7
command: build:gyp-cross
args: -i linux-arm64-lts -i linux-armv7 -i linux-armv6
- os: ubuntu-20.04
label: musl+arm64-musl
command: build:gyp-cross
args: --tag-libc musl -i linux-arm64-musl
- os: ubuntu-20.04
label: arm64+armv7
command: build:gyp-cross
args: -i android-arm64 -i android-armv7
steps:
- uses: actions/checkout@v
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
Expand All @@ -56,7 +59,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: build-artifacts-${{ matrix.node_arch }}
name: build-artifacts-${{ matrix.os }}-${{ matrix.label }}
path: prebuilds/
if-no-files-found: error

Expand Down
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"variables": {
"openssl_fips": ""
"openssl_fips": "",
"android_ndk_path": ""
},
"targets": [
{
Expand Down
Loading

0 comments on commit 41fae07

Please sign in to comment.