Skip to content

Commit

Permalink
Strip debug symbols on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Jan 3, 2021
1 parent c09cb4d commit 81429a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.os == 'ubuntu-latest' }}
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -59,6 +62,8 @@ jobs:
- uses: bahmutov/npm-install@v1.1.0
env:
RUST_TARGET: ${{ matrix.target }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -107,6 +112,8 @@ jobs:
- uses: bahmutov/npm-install@v1.1.0
env:
RUST_TARGET: ${{ matrix.target }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Link native packages
run: node scripts/link-native.js
- uses: bahmutov/npm-install@v1.1.0
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.os == 'ubuntu-latest' }}
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -58,6 +61,8 @@ jobs:
- uses: bahmutov/npm-install@v1.1.0
env:
RUST_TARGET: ${{ matrix.target }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down Expand Up @@ -106,6 +111,8 @@ jobs:
- uses: bahmutov/npm-install@v1.1.0
env:
RUST_TARGET: ${{ matrix.target }}
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip *.node
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 81429a9

Please sign in to comment.