From a60eb77a128c6b0c9810c60ee4a16c16073b97c1 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Wed, 28 Apr 2021 17:06:52 +0200 Subject: [PATCH] Add NodeJS 16.0.0 --- .github/workflows/build-and-test.yml | 26 +++++++++---------- .../javascript/abi_crosswalk_priv.json | 4 +++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 05bb5925..5291d109 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -385,7 +385,7 @@ jobs: id: node-headers-cache with: path: native_client/javascript/headers/nodejs/ - key: node-headers-10.0.0_15.0.0 + key: node-headers-10.0.0_16.0.0 - uses: actions/cache@v2 id: electron-headers-cache with: @@ -393,7 +393,7 @@ jobs: key: electron-headers-5.0.13_12.0.0 - uses: ./.github/actions/node-build with: - nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0" + nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0 16.0.0" electronjs_versions: "5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1 9.0.1 9.1.0 9.2.0 10.0.0 10.1.0 11.0.0 12.0.0" - uses: actions/upload-artifact@v2 with: @@ -499,7 +499,7 @@ jobs: strategy: matrix: # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 12, 14, 15] + nodejs-version: [10, 12, 14, 16] build-flavor: ["tf", "tflite"] models: ["test"] bitrate: ["16k"] @@ -929,7 +929,7 @@ jobs: id: node-headers-cache with: path: native_client/javascript/headers/nodejs/ - key: node-headers-10.0.0_15.0.0 + key: node-headers-10.0.0_16.0.0 - uses: actions/cache@v2 id: electron-headers-cache with: @@ -937,7 +937,7 @@ jobs: key: electron-headers-5.0.13_12.0.0 - uses: ./.github/actions/node-build with: - nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0" + nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0 16.0.0" electronjs_versions: "5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1 9.0.1 9.1.0 9.2.0 10.0.0 10.1.0 11.0.0 12.0.0" - uses: actions/upload-artifact@v2 with: @@ -1041,7 +1041,7 @@ jobs: strategy: matrix: # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 12, 14, 15] + nodejs-version: [10, 12, 14, 16] build-flavor: ["tf", "tflite"] models: ["test"] bitrate: ["16k"] @@ -1415,7 +1415,7 @@ jobs: id: node-headers-cache with: path: native_client/javascript/headers/nodejs/ - key: node-headers-win-10.0.0_15.0.0 + key: node-headers-win-10.0.0_16.0.0 - uses: actions/cache@v2 id: electron-headers-cache with: @@ -1423,7 +1423,7 @@ jobs: key: electron-headers-win-5.0.13_12.0.0 - uses: ./.github/actions/node-build with: - nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0" + nodejs_versions: "10.0.0 11.0.0 12.7.0 13.0.0 14.0.0 15.0.0 16.0.0" electronjs_versions: "5.0.13 6.0.12 6.1.7 7.0.1 7.1.8 8.0.1 9.0.1 9.1.0 9.2.0 10.0.0 10.1.0 11.0.0 12.0.0" - uses: actions/upload-artifact@v2 with: @@ -1545,7 +1545,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} strategy: matrix: - nodejs-version: [10, 12, 14, 15] + nodejs-version: [10, 12, 14, 16] build-flavor: ["tf", "tflite"] models: ["test"] bitrate: ["16k"] @@ -1736,7 +1736,7 @@ jobs: strategy: matrix: # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 15] + nodejs-version: [10, 16] build-flavor: ["tf", "tflite"] models: ["test", "prod"] bitrate: ["8k", "16k"] @@ -1848,7 +1848,7 @@ jobs: strategy: matrix: # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 15] + nodejs-version: [10, 16] build-flavor: ["tf", "tflite"] models: ["test", "prod"] bitrate: ["8k", "16k"] @@ -1956,7 +1956,7 @@ jobs: strategy: matrix: # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 15] + nodejs-version: [10, 16] build-flavor: ["tf", "tflite"] models: ["test", "prod"] bitrate: ["8k", "16k"] @@ -2752,7 +2752,7 @@ jobs: matrix: arch: [ "armv7", "aarch64" ] # https://nodejs.org/en/about/releases/ - nodejs-version: [10, 12, 14, 15] + nodejs-version: [10, 12, 14, 16] build-flavor: ["tflite"] models: ["test"] bitrate: ["16k"] diff --git a/native_client/javascript/abi_crosswalk_priv.json b/native_client/javascript/abi_crosswalk_priv.json index d6294739..46267781 100644 --- a/native_client/javascript/abi_crosswalk_priv.json +++ b/native_client/javascript/abi_crosswalk_priv.json @@ -2202,5 +2202,9 @@ "15.0.0": { "node_abi": 88, "v8": "8.6" + }, + "16.0.0": { + "node_abi": 93, + "v8": "9.0" } }