Skip to content

Commit 0cad49a

Browse files
committed
extra fix to build
1 parent e5aac67 commit 0cad49a

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,20 @@ jobs:
5656
- name: Verify binary
5757
run: |
5858
echo "Binary info:"
59-
file bin/cliraop-linux-${{ matrix.os-arch }}
59+
file bin/cliraop-linux-${{ matrix.os-arch }} || true
6060
echo ""
61-
echo "Dynamic dependencies:"
62-
ldd bin/cliraop-linux-${{ matrix.os-arch }} || echo "Static binary (no dependencies)"
61+
echo "Dynamic dependencies (x86_64 only):"
62+
if [ "${{ matrix.os-arch }}" = "x86_64" ]; then
63+
ldd bin/cliraop-linux-${{ matrix.os-arch }} 2>&1 || echo "Could not run ldd (static binary or not executable on this platform)"
64+
else
65+
echo "Skipping ldd for cross-compiled ${{ matrix.os-arch }} binary"
66+
fi
6367
echo ""
64-
echo "Size:"
68+
echo "Binary size:"
6569
ls -lh bin/cliraop-linux-${{ matrix.os-arch }}
70+
echo ""
71+
echo "Checking for common dynamic libraries in binary:"
72+
strings bin/cliraop-linux-${{ matrix.os-arch }} | grep -E '\.so\.' | head -20 || echo "No .so references found (likely fully static)"
6673
6774
- name: Upload artifacts
6875
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)