diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e1e5a5b..cc1425fb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 10, 12, 14, 15] + node: [ 10, 12, 14, 15, 16] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/system-test/Dockerfile.node16-alpine b/system-test/Dockerfile.node16-alpine new file mode 100644 index 00000000..e5db94a2 --- /dev/null +++ b/system-test/Dockerfile.node16-alpine @@ -0,0 +1,14 @@ +FROM golang:1.16-alpine as builder +RUN apk add --no-cache git +WORKDIR /root/ +RUN go get github.com/google/pprof + + +FROM node:16-alpine + +ARG ADDITIONAL_PACKAGES + +RUN apk add --no-cache bash $ADDITIONAL_PACKAGES +WORKDIR /root/ +COPY --from=builder /go/bin/pprof /bin +RUN chmod a+x /bin/pprof diff --git a/system-test/system_test.sh b/system-test/system_test.sh index 93bb126f..2b82f10d 100755 --- a/system-test/system_test.sh +++ b/system-test/system_test.sh @@ -11,14 +11,14 @@ set -eox pipefail cd $(dirname $0) if [[ -z "$BINARY_HOST" ]]; then - ADDITIONAL_PACKAGES="python g++ make" + ADDITIONAL_PACKAGES="python3 g++ make" fi if [[ "$RUN_ONLY_V8_CANARY_TEST" == "true" ]]; then NVM_NODEJS_ORG_MIRROR="https://nodejs.org/download/v8-canary" NODE_VERSIONS=(node) else - NODE_VERSIONS=(10 12 14 15) + NODE_VERSIONS=(10 12 14 15 16) fi for i in ${NODE_VERSIONS[@]}; do diff --git a/tools/build/build.sh b/tools/build/build.sh index 407866ca..d448f6b5 100755 --- a/tools/build/build.sh +++ b/tools/build/build.sh @@ -28,7 +28,7 @@ mkdir -p "$ARTIFACTS_OUT" npm install --quiet -for version in 10.0.0 12.0.0 14.0.0 15.0.0 +for version in 10.0.0 12.0.0 14.0.0 15.0.0 16.0.0 do ./node_modules/.bin/node-pre-gyp configure rebuild package \ --target=$version --target_arch="x64"