Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit ced62d3

Browse files
committed
Revert "Merge pull request #120 from LedgerHQ/update-prebuilds"
This reverts commit 4fc0b85, reversing changes made to 4161a0b.
1 parent 5f759b1 commit ced62d3

File tree

4 files changed

+205
-78
lines changed

4 files changed

+205
-78
lines changed

.github/workflows/prebuild.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-20.04, macos-latest, windows-2019]
11+
os: [ubuntu-16.04, macos-latest, windows-2016]
1212
steps:
1313
- uses: actions/checkout@v1
1414
- uses: actions/setup-node@master
@@ -25,15 +25,15 @@ jobs:
2525
if: runner.os == 'Linux'
2626
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 700 --slave /usr/bin/g++ g++ /usr/bin/g++-9
2727
- name: prebuild for node 12
28-
run: npx @mapbox/node-pre-gyp configure rebuild package --target=12.16.0
28+
run: npx node-pre-gyp configure rebuild package --target=12.16.0
2929
- name: clean
30-
run: npx @mapbox/node-pre-gyp clean
30+
run: npx node-pre-gyp clean
3131
- name: prebuild for node 14
32-
run: npx @mapbox/node-pre-gyp configure rebuild package --target=14.17.0
32+
run: npx node-pre-gyp configure rebuild package --target=14.17.0
3333
- name: clean
34-
run: npx @mapbox/node-pre-gyp clean
35-
- name: prebuild for electron 13.1
36-
run: npx @mapbox/node-pre-gyp configure build package --runtime=electron --target=13.1.0 --build-from-source --dist-url=https://electronjs.org/headers
34+
run: npx node-pre-gyp clean
35+
- name: prebuild for electron 11.2
36+
run: npx node-pre-gyp configure build package --runtime=electron --target=11.2.0 --build-from-source --dist-url=https://electronjs.org/headers
3737
- name: publish
3838
env:
3939
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: core-prebuild
2-
on:
3-
pull_request:
4-
branches:
5-
- master
6-
push:
7-
branches:
8-
- master
2+
on: [push, pull_request]
93

104
jobs:
115
prebuild-for-platform:
126
runs-on: ${{ matrix.os }}
137
strategy:
148
matrix:
15-
os: [ubuntu-20.04, macos-latest, windows-2019]
9+
os: [ubuntu-16.04, macos-latest, windows-2016]
1610
steps:
1711
- uses: actions/checkout@v1
1812
- uses: actions/setup-node@master
@@ -29,12 +23,12 @@ jobs:
2923
if: runner.os == 'Linux'
3024
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 700 --slave /usr/bin/g++ g++ /usr/bin/g++-9
3125
- name: prebuild for node 12
32-
run: npx @mapbox/node-pre-gyp configure rebuild package --target=12.16.0
26+
run: npx node-pre-gyp configure rebuild package --target=12.16.0
3327
- name: clean
34-
run: npx @mapbox/node-pre-gyp clean
28+
run: npx node-pre-gyp clean
3529
- name: prebuild for node 14
36-
run: npx @mapbox/node-pre-gyp configure rebuild package --target=14.17.0
30+
run: npx node-pre-gyp configure rebuild package --target=14.17.0
3731
- name: clean
38-
run: npx @mapbox/node-pre-gyp clean
39-
- name: prebuild for electron 13.1
40-
run: npx @mapbox/node-pre-gyp configure build package --runtime=electron --target=13.1.0 --build-from-source --dist-url=https://electronjs.org/headers
32+
run: npx node-pre-gyp clean
33+
- name: prebuild for electron 11.2
34+
run: npx node-pre-gyp configure build package --runtime=electron --target=11.2.0 --build-from-source --dist-url=https://electronjs.org/headers

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
],
4141
"license": "MIT",
4242
"dependencies": {
43-
"@mapbox/node-pre-gyp": "^1.0.5",
4443
"bindings": "1.5.0",
4544
"nan": "^2.14.2",
4645
"node-gyp": "^8.0.0",
46+
"node-pre-gyp": "^0.17.0",
4747
"node-pre-gyp-github": "^1.4.3"
4848
},
4949
"devDependencies": {

0 commit comments

Comments
 (0)