diff --git a/.github/workflows/build-workflow.yaml b/.github/workflows/build-workflow.yaml index a53a6fbd..cf9dcc40 100644 --- a/.github/workflows/build-workflow.yaml +++ b/.github/workflows/build-workflow.yaml @@ -18,6 +18,7 @@ jobs: run: | build/duk -e "print(Duktape.env); print('Hello world!');" build/duk dist-files/mandel.js + build/duk-g++ dist-files/mandel.js build_duk_macos: name: Duk macOS 10.15 runs-on: macos-10.15 diff --git a/README.md b/README.md index 817179bd..f1de8264 100644 --- a/README.md +++ b/README.md @@ -110,19 +110,19 @@ If you intend to change Duktape internals and want to rebuild the source distributable in Linux, macOS, or Windows: # Linux; can often install from packages or using 'pip' - # Install Node.js >= 14.x + # Install Node.js >= 16.x $ sudo apt-get install python python-yaml $ python util/dist.py # macOS # Install Python 2.7.x - # Install Node.js >= 14.x + # Install Node.js >= 16.x $ pip install PyYAML $ python util/dist.py # Windows ; Install Python 2.7.x from python.org, and add it to PATH - ; Install Node.js >= 14.x + ; Install Node.js >= 16.x > pip install PyYAML > python util\dist.py diff --git a/docker/duktape-base-ubuntu-18.04-x64/Dockerfile b/docker/duktape-base-ubuntu-18.04-x64/Dockerfile index b5c8bdd2..d6d7d94c 100644 --- a/docker/duktape-base-ubuntu-18.04-x64/Dockerfile +++ b/docker/duktape-base-ubuntu-18.04-x64/Dockerfile @@ -18,7 +18,7 @@ RUN echo "=== Timezone setup ===" && \ # Duktape, the duktape.org website, run tests, etc. RUN echo "=== Node.js and package install ===" && \ apt-get update && apt-get install -qqy curl && \ - curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -qqy \ diff --git a/docker/duktape-base-ubuntu-20.04-arm64/Dockerfile b/docker/duktape-base-ubuntu-20.04-arm64/Dockerfile index b91c77d4..66880ed5 100644 --- a/docker/duktape-base-ubuntu-20.04-arm64/Dockerfile +++ b/docker/duktape-base-ubuntu-20.04-arm64/Dockerfile @@ -18,7 +18,7 @@ RUN echo "=== Timezone setup ===" && \ # Duktape, the duktape.org website, run tests, etc. RUN echo "=== Node.js and package install ===" && \ apt-get update && apt-get install -qqy curl && \ - curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ apt-get update && \ apt-get install -qqy \ build-essential llvm valgrind strace libc6-dbg \ diff --git a/docker/duktape-base-ubuntu-20.04-x64/Dockerfile b/docker/duktape-base-ubuntu-20.04-x64/Dockerfile index 234f33f7..55b0edc9 100644 --- a/docker/duktape-base-ubuntu-20.04-x64/Dockerfile +++ b/docker/duktape-base-ubuntu-20.04-x64/Dockerfile @@ -18,7 +18,7 @@ RUN echo "=== Timezone setup ===" && \ # Duktape, the duktape.org website, run tests, etc. RUN echo "=== Node.js and package install ===" && \ apt-get update && apt-get install -qqy curl && \ - curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ + curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -qqy \ diff --git a/tests/perf/.eslintignore b/tests/perf/.eslintignore new file mode 100644 index 00000000..2ccbe465 --- /dev/null +++ b/tests/perf/.eslintignore @@ -0,0 +1 @@ +/node_modules/ diff --git a/tests/perf/.eslintrc.yml b/tests/perf/.eslintrc.yml new file mode 100644 index 00000000..881f2602 --- /dev/null +++ b/tests/perf/.eslintrc.yml @@ -0,0 +1,27 @@ +env: + browser: true + commonjs: true + es6: true +extends: 'eslint:recommended' +globals: + Atomics: readonly + SharedArrayBuffer: readonly + process: readonly + __dirname: readonly + Buffer: readonly + CBOR: readonly + print: writable + Duktape: readonly +parserOptions: + ecmaVersion: 2018 +rules: + strict: off + no-self-assign: off + no-unused-vars: off + no-empty: off + no-constant-condition: off + no-unreachable: off + no-tabs: error + no-control-regex: off + no-trailing-spaces: error + no-warning-comments: [ 1, { "terms": ["todo", "fixme", "xxx"], "location": "anywhere" } ]