Skip to content

Commit a7c724a

Browse files
committed
Use otool on mac
1 parent 23de966 commit a7c724a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
if: matrix.os == 'macos-latest'
111111
run: |
112112
EXPECTED=5
113-
ACTUAL=$(ldd ./target/aarch64-apple-darwin/debug/tmc-langs-cli | wc -l)
113+
ACTUAL=$(otool -L ./target/aarch64-apple-darwin/debug/tmc-langs-cli | wc -l)
114114
if [ $ACTUAL -ne $EXPECTED ]; then
115115
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL"
116116
exit 1

0 commit comments

Comments
 (0)