diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 50b0cd9a4d..11fc1d4bcc 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -9,7 +9,7 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 - run: npm install - run: npm test - run: npm run prebuild @@ -25,7 +25,7 @@ jobs: files: prebuild-darwin.tar build-linux: if: startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 container: quay.io/pypa/manylinux2014_x86_64 steps: - run: ldd --version ldd @@ -33,7 +33,8 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 + - run: yum install -y python3 - run: npm install - run: npm run prebuild - run: npm test @@ -44,8 +45,8 @@ jobs: with: files: prebuild-linux.tar build-alpine: - runs-on: ubuntu-18.04 - container: node:12.22-alpine + runs-on: ubuntu-20.04 + container: node:14.21-alpine steps: - run: apk add python3 py3-pip build-base - uses: actions/checkout@v2 @@ -60,8 +61,8 @@ jobs: files: prebuild-alpine.tar build-linux-arm64: if: startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-18.04 - container: quay.io/pypa/manylinux_2_24_x86_64 + runs-on: ubuntu-20.04 + container: node:14-buster steps: - run: apt-get update - run: apt-get install -y gcc-aarch64-linux-gnu @@ -71,7 +72,7 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 - run: npm install - run: npm run prebuild-arm64 if: startsWith(github.ref, 'refs/tags/') diff --git a/binding.gyp b/binding.gyp index f9f2016726..7eac5b564a 100644 --- a/binding.gyp +++ b/binding.gyp @@ -57,9 +57,9 @@ }] ], "xcode_settings": { - "OTHER_CPLUSPLUSFLAGS" : ["-std=c++14"], + "OTHER_CPLUSPLUSFLAGS" : ["-std=c++17"], "MACOSX_DEPLOYMENT_TARGET": "10.7", - "OTHER_LDFLAGS": ["-std=c++14"], + "OTHER_LDFLAGS": ["-std=c++17"], "CLANG_CXX_LIBRARY": "libc++" } }],