Skip to content

Commit 900266e

Browse files
committed
Diagnose Linux binary linkage
1 parent 185fb90 commit 900266e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,20 @@ jobs:
293293
- name: Copy compiler exes to platform bin dir
294294
run: node scripts/copyExes.js --compiler
295295

296+
- name: Diagnose Linux binary linkage
297+
if: runner.os == 'Linux'
298+
run: |
299+
opam list
300+
opam exec -- ocamlopt -config | grep -E '^(native_c|mkexe|mkshared|system):' || true
301+
opam exec -- which musl-gcc || true
302+
for f in packages/@rescript/${{ matrix.node-target }}/bin/*.exe; do
303+
echo "== $f =="
304+
file "$f"
305+
ldd "$f" || true
306+
readelf -d "$f" || true
307+
done
308+
shell: bash
309+
296310
- name: "Syntax: Run tests"
297311
env:
298312
ROUNDTRIP_TEST: ${{ runner.os == 'Windows' && '0' || '1' }}

0 commit comments

Comments
 (0)