Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Cleanup unsupported versions (#102)
Browse files Browse the repository at this point in the history
* drop prebuild support for electron and node versions that are no longer supported upstream

* drop support for node-ia32 prebuilds as those are now out of date
  • Loading branch information
shiftkey committed Mar 25, 2021
1 parent e6e35c5 commit fc766c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Expand Up @@ -51,15 +51,14 @@ jobs:
- run: |
npm run prebuild-electron-arm64
npm run prebuild-node-ia32
npm run prebuild-electron-ia32
if: ${{ matrix.os == 'windows-latest' }}
name: Prebuild (Windows x86 + ARM64)
- run: |
mkdir -p prebuilds && chmod 777 prebuilds
docker build -t node-fs-admin/i386 docker/i386
docker run --rm -v ${PWD}:/project node-fs-admin/i386 /bin/bash -c "cd /project && npm run prebuild-node-ia32 && npm run prebuild-electron-ia32 && rm -rf build"
docker run --rm -v ${PWD}:/project node-fs-admin/i386 /bin/bash -c "cd /project && npm run prebuild-electron-ia32 && rm -rf build"
docker build -t node-fs-admin/arm64-cross-compile docker/arm64-cross-compile
docker run --rm -v ${PWD}:/project node-fs-admin/arm64-cross-compile /bin/bash -c "cd /project && npm run prebuild-electron-arm64"
if: ${{ matrix.os == 'ubuntu-16.04' }}
Expand Down
9 changes: 4 additions & 5 deletions package.json
Expand Up @@ -8,11 +8,10 @@
"test": "standard && mocha",
"install": "prebuild-install || npm run build",
"build": "node-gyp rebuild",
"prebuild-node": "prebuild -t 8.9.0 -t 9.4.0 -t 10.11.0 -t 11.9.0 -t 12.0.0 -t 14.0.0 -t 15.0.0 --strip",
"prebuild-node-ia32": "prebuild -t 8.9.0 -t 9.4.0 -a ia32 --strip",
"prebuild-electron": "prebuild -t 4.0.4 -t 5.0.0 -t 6.0.0 -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron --strip",
"prebuild-electron-ia32": "prebuild -t 4.0.4 -t 5.0.0 -t 6.0.0 -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a ia32 --strip",
"prebuild-electron-arm64": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a arm64 --strip",
"prebuild-node": "prebuild -t 10.11.0 -t 11.9.0 -t 12.0.0 -t 14.0.0 -t 15.0.0 --strip",
"prebuild-electron": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron --strip",
"prebuild-electron-ia32": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a ia32 --strip",
"prebuild-electron-arm64": "prebuild -t 10.0.0 -t 11.0.0 -t 12.0.0 -r electron -a arm64 --strip",
"upload": "node ./script/upload.js"
},
"keywords": [
Expand Down

0 comments on commit fc766c4

Please sign in to comment.