Skip to content

Commit

Permalink
chore!: remove precompiled binaries (#8)
Browse files Browse the repository at this point in the history
* feat: mozilla dump_syms

* feat: command line support

* fix: include sources for client-side rebuild

* chore: fix tests

* chore: update readme

* chore: use bugsplat fork of node-pre-gyp-github

BREAKING CHANGE: replace dumpSyms and dumpSymsSync with single dumpSyms that calls the native addon.
  • Loading branch information
bobbyg603 committed Mar 20, 2024
1 parent 42d4e0a commit 6400f4f
Show file tree
Hide file tree
Showing 70 changed files with 156,166 additions and 893 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/neon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Prebuilt Binaries

on:
push:
tags:
- 'v*'

jobs:
build-and-publish:
name: Build and Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: |
npm ci
npm i -g @mapbox/node-pre-gyp @bugsplat/node-pre-gyp-github
- name: Build native addon with neon
run: npm run build
- name: Publish to GitHub
env:
NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run upload-binary
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
dist
out
node_modules
.DS_Store
.DS_Store
target
index.node
out.sym
build
native
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"jasmineExplorer.nodeArgv": [
"-r",
"ts-node/register"
]
}
Loading

0 comments on commit 6400f4f

Please sign in to comment.