Skip to content

Commit

Permalink
Fix CI print binary info
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Feb 7, 2023
1 parent a4a27ca commit 76da825
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,18 @@ jobs:
run: emmake yarn node-pre-gyp build --nodedir=./wasm --target_arch=${{ env.TARGET }}

- name: Print binary info
if: contains(matrix.os, 'ubuntu')
if: contains(matrix.os, 'ubuntu') && matrix.target != 'wasm32'
run: |
ldd lib/binding/*/node_sqlite3.node
echo "---"
nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" | c++filt || true
echo "---"
file lib/binding/napi-v*/*
- name: Print binary info (WebAssembly)
if: contains(matrix.os, 'ubuntu') && matrix.target == 'wasm32'
run: |
file lib/binding/napi-v*/*
- name: Run tests
if: matrix.target != 'wasm32'
Expand Down

0 comments on commit 76da825

Please sign in to comment.