Skip to content
Merged
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
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel]
os: [ubuntu-latest, windows-latest, macos-15-intel]
node-version: [20.x, 22.x, 24.x]
arch: [x64]
include:
- os: macos-latest
node-version: 20.x
arch: arm64
- os: macos-latest
node-version: 22.x
arch: arm64
- os: macos-latest
node-version: 24.x
arch: arm64
- os: windows-latest
node-version: 20.x
arch: x86
Expand Down Expand Up @@ -50,3 +59,12 @@ jobs:

- name: Prebuild
run: npm run prebuild

# Consumers resolve node-addon-api from our semver range, not our lockfile,
# so also build against the newest release to catch header changes early.
- name: Build and test against latest node-addon-api
shell: bash
run: |
npm install --no-save node-addon-api@latest
npm run build
npm run test
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- os: windows-latest
arch: x86
- os: macos-latest
arch: x64
arch: arm64
- os: macos-15-intel
arch: x64

Expand Down
3 changes: 1 addition & 2 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
'xcode_settings': {
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES',
'CLANG_CXX_LIBRARY': 'libc++',
'MACOSX_DEPLOYMENT_TARGET': '10.7',
'OTHER_CPLUSPLUSFLAGS' : [ '-std=c++11', '-stdlib=libc++' ],
'MACOSX_DEPLOYMENT_TARGET': '10.15',
},
'msvs_settings': {
'VCCLCompilerTool': { 'ExceptionHandling': 1 },
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading