Skip to content

Commit

Permalink
Build for newer Node/Electron ABI versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoelg committed Jun 8, 2021
1 parent 56aa167 commit 945085e
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 100 deletions.
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ before_script:
- git config --global user.email thiagoelg@gmail.com

script:
- npx prebuild --strip --all -r electron --arch ia32 -u $PREBUILD_TOKEN
- npx prebuild --strip --all -r electron --arch x64 -u $PREBUILD_TOKEN
- npx prebuild --strip --all --arch ia32 -u $PREBUILD_TOKEN
- npx prebuild --strip --all --arch x64 -u $PREBUILD_TOKEN
- npm install -g prebuild
- prebuild --strip --all -r electron --arch ia32 -u $PREBUILD_TOKEN
- prebuild --strip --all -r electron --arch x64 -u $PREBUILD_TOKEN
- prebuild --strip --all --arch ia32 -u $PREBUILD_TOKEN
- prebuild --strip --all --arch x64 -u $PREBUILD_TOKEN

os:
- linux
Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ install:
- cmd: SET JOBS=4
- cmd: SET BUILD_ONLY=true
- cmd: npm ci --build-from-source
- cmd: npm install -g prebuild
- cmd: if %PLATFORM% EQU x86 (SET TP=ia32) else (set TP=x64)
- cmd: npx prebuild --strip -r electron --all --arch %TP% -u %UTO%
- cmd: npx prebuild --strip -r node-webkit --all --arch %TP% -u %UTO%
- cmd: npx prebuild --strip --all --arch %TP% -u %UTO%
- cmd: prebuild --strip -r electron --all --arch %TP% -u %UTO%
- cmd: prebuild --strip -r node-webkit --all --arch %TP% -u %UTO%
- cmd: prebuild --strip --all --arch %TP% -u %UTO%
test_script:
- node --version
- npm --version
Expand Down
173 changes: 84 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 945085e

Please sign in to comment.