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

Commit

Permalink
Revert "Merge pull request #120 from LedgerHQ/update-prebuilds"
Browse files Browse the repository at this point in the history
This reverts commit 4fc0b85, reversing
changes made to 4161a0b.
  • Loading branch information
valpinkman committed Sep 30, 2021
1 parent 5f759b1 commit ced62d3
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 78 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-2019]
os: [ubuntu-16.04, macos-latest, windows-2016]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@master
Expand All @@ -25,15 +25,15 @@ jobs:
if: runner.os == 'Linux'
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 700 --slave /usr/bin/g++ g++ /usr/bin/g++-9
- name: prebuild for node 12
run: npx @mapbox/node-pre-gyp configure rebuild package --target=12.16.0
run: npx node-pre-gyp configure rebuild package --target=12.16.0
- name: clean
run: npx @mapbox/node-pre-gyp clean
run: npx node-pre-gyp clean
- name: prebuild for node 14
run: npx @mapbox/node-pre-gyp configure rebuild package --target=14.17.0
run: npx node-pre-gyp configure rebuild package --target=14.17.0
- name: clean
run: npx @mapbox/node-pre-gyp clean
- name: prebuild for electron 13.1
run: npx @mapbox/node-pre-gyp configure build package --runtime=electron --target=13.1.0 --build-from-source --dist-url=https://electronjs.org/headers
run: npx node-pre-gyp clean
- name: prebuild for electron 11.2
run: npx node-pre-gyp configure build package --runtime=electron --target=11.2.0 --build-from-source --dist-url=https://electronjs.org/headers
- name: publish
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/test-prebuild.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
name: core-prebuild
on:
pull_request:
branches:
- master
push:
branches:
- master
on: [push, pull_request]

jobs:
prebuild-for-platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-2019]
os: [ubuntu-16.04, macos-latest, windows-2016]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@master
Expand All @@ -29,12 +23,12 @@ jobs:
if: runner.os == 'Linux'
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 700 --slave /usr/bin/g++ g++ /usr/bin/g++-9
- name: prebuild for node 12
run: npx @mapbox/node-pre-gyp configure rebuild package --target=12.16.0
run: npx node-pre-gyp configure rebuild package --target=12.16.0
- name: clean
run: npx @mapbox/node-pre-gyp clean
run: npx node-pre-gyp clean
- name: prebuild for node 14
run: npx @mapbox/node-pre-gyp configure rebuild package --target=14.17.0
run: npx node-pre-gyp configure rebuild package --target=14.17.0
- name: clean
run: npx @mapbox/node-pre-gyp clean
- name: prebuild for electron 13.1
run: npx @mapbox/node-pre-gyp configure build package --runtime=electron --target=13.1.0 --build-from-source --dist-url=https://electronjs.org/headers
run: npx node-pre-gyp clean
- name: prebuild for electron 11.2
run: npx node-pre-gyp configure build package --runtime=electron --target=11.2.0 --build-from-source --dist-url=https://electronjs.org/headers
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
],
"license": "MIT",
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.5",
"bindings": "1.5.0",
"nan": "^2.14.2",
"node-gyp": "^8.0.0",
"node-pre-gyp": "^0.17.0",
"node-pre-gyp-github": "^1.4.3"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit ced62d3

Please sign in to comment.