Skip to content

Commit

Permalink
Merge pull request #54 from ggtakec/update/support_os
Browse files Browse the repository at this point in the history
Changed supported OS and NodeJS version
  • Loading branch information
ggtakec authored Nov 21, 2024
2 parents 948450b + 0c7f987 commit 33d1f23
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
fail-fast: false

matrix:
node-version: [18, 20]
node-version: [18, 20, 22]

steps:
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ PRNSUCCESS "Start to check options and environments"
CPPCHECK_TARGET="."
CPPCHECK_BASE_OPT="--quiet --error-exitcode=1 --inline-suppr -j 4 --std=c++03 --xml --enable=warning,style,information,missingInclude"
CPPCHECK_ENABLE_VALUES="warning style information missingInclude"
CPPCHECK_IGNORE_VALUES="unmatchedSuppression"
CPPCHECK_IGNORE_VALUES="unmatchedSuppression missingIncludeSystem normalCheckLevelMaxBranches"
CPPCHECK_BUILD_DIR="/tmp/cppcheck"

SHELLCHECK_TARGET_DIRS="."
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/nodejstypevars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,20 @@ if [ -z "${CI_NODEJS_MAJOR_VERSION}" ]; then
# Unknown NodeJS Major version : Nothing to do
#
:
elif [ "${CI_NODEJS_MAJOR_VERSION}" = "14" ]; then
INSTALL_PKG_LIST="git gcc g++ make k2hdkc-dev"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
IS_PUBLISHER=0

elif [ "${CI_NODEJS_MAJOR_VERSION}" = "16" ]; then
elif [ "${CI_NODEJS_MAJOR_VERSION}" = "18" ]; then
INSTALL_PKG_LIST="git gcc g++ make k2hdkc-dev"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
IS_PUBLISHER=0
IS_PUBLISHER=1

elif [ "${CI_NODEJS_MAJOR_VERSION}" = "18" ]; then
elif [ "${CI_NODEJS_MAJOR_VERSION}" = "20" ]; then
INSTALL_PKG_LIST="git gcc g++ make k2hdkc-dev"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
IS_PUBLISHER=1
IS_PUBLISHER=0

elif [ "${CI_NODEJS_MAJOR_VERSION}" = "20" ]; then
elif [ "${CI_NODEJS_MAJOR_VERSION}" = "22" ]; then
INSTALL_PKG_LIST="git gcc g++ make k2hdkc-dev"
INSTALLER_BIN="apt-get"
INSTALL_QUIET_ARG="-qq"
Expand Down Expand Up @@ -127,7 +122,7 @@ fi
# CPPCHECK_TARGET "."
# CPPCHECK_BASE_OPT "--quiet --error-exitcode=1 --inline-suppr -j 4 --std=c++03 --xml"
# CPPCHECK_ENABLE_VALUES "warning style information missingInclude"
# CPPCHECK_IGNORE_VALUES "unmatchedSuppression"
# CPPCHECK_IGNORE_VALUES "unmatchedSuppression missingIncludeSystem normalCheckLevelMaxBranches"
# CPPCHECK_BUILD_DIR "/tmp/cppcheck"
#
# SHELLCHECK_TARGET_DIRS "."
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"bindings": "^1.5.0",
"nan": "^2.19.0"
"nan": "^2.22.0"
},
"devDependencies": {
"chai": "^4.4.1",
"mocha": "^10.2.0"
"chai": "^4.5.0",
"mocha": "^10.8.2"
},
"scripts": {
"build": "npm run build:before && npm run build:configure && npm run build:rebuild && npm run build:linkdir && npm run build:after",
Expand Down

0 comments on commit 33d1f23

Please sign in to comment.