diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 902b2b5..eb449ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: - 18 - 20 - 22 + - 23 fail-fast: false name: Test Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/binding.gyp b/binding.gyp index bb40aa7..1e1641b 100644 --- a/binding.gyp +++ b/binding.gyp @@ -25,13 +25,13 @@ "NAPI_VERSION=<(napi_build_version)", ], "cflags_cc": [ - "-std=c++17" + "-std=c++20" ], "conditions": [ ["OS=='mac'", { "xcode_settings": { "GCC_SYMBOLS_PRIVATE_EXTERN": "YES", # -fvisibility=hidden - "CLANG_CXX_LANGUAGE_STANDARD": "c++17", + "CLANG_CXX_LANGUAGE_STANDARD": "c++20", "MACOSX_DEPLOYMENT_TARGET": "10.9", }, }], @@ -39,7 +39,7 @@ "msvs_settings": { "VCCLCompilerTool": { "AdditionalOptions": [ - "/std:c++17", + "/std:c++20", ], "RuntimeLibrary": 0, },