Skip to content

Commit

Permalink
Support node 23 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
uurien authored Oct 22, 2024
1 parent fbd5646 commit 76f9c2a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [16, 17, 18, 19, 20, 21, 22]
version: [16, 17, 18, 19, 20, 21, 22, 23]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -28,7 +28,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [16, 17, 18, 19, 20, 21, 22]
version: [16, 17, 18, 19, 20, 21, 22, 23]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [16, 18, 19, 20, 21, 22]
version: [16, 18, 19, 20, 21, 22, 23]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -24,7 +24,7 @@ jobs:
needs: ['cpp-lint', 'js-lint']
strategy:
matrix:
version: [16, 18, 19, 20, 21, 22]
version: [16, 18, 19, 20, 21, 22, 23]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.9)
cmake_policy(SET CMP0042 NEW)
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD 20)
set (CMAKE_CXX_COMPILER clang++)

project(dd-native-iast-taint-tracking-js)
Expand Down
13 changes: 9 additions & 4 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,20 @@
"<!(node -e \"require('nan')\")"
],
"cflags!": [ "-fno-exceptions", "-fno-rtti" ],
"cflags_cc!": [ "-fno-exceptions", "-fno-rtti" ],
"cflags_cc": [ "-std=c++17" ],
"cflags_cc!": [ "-fno-exceptions", "-fno-rtti", "-std=gnu++20" ],
"cflags_cc": [ "-std=gnu++2a" ],
"conditions": [
['OS=="mac"', {
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "10.7",
"MACOSX_DEPLOYMENT_TARGET": "10.10",
"CLANG_CXX_LIBRARY": "libc++",
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"GCC_ENABLE_CPP_RTTI": "YES"
"GCC_ENABLE_CPP_RTTI": "YES",
"OTHER_CFLAGS": [
"-std=c++20",
"-stdlib=libc++",
"-Wall"
]
}
}],
['OS=="win"', {
Expand Down

0 comments on commit 76f9c2a

Please sign in to comment.