File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,18 @@ jobs:
100100 if : matrix.os == 'ubuntu-latest'
101101 run : |
102102 EXPECTED=5
103- ACTUAL=$(ldd ./target/debug/tmc-langs-cli | wc -l)
103+ ACTUAL=$(ldd ./target/x86_64-unknown-linux-gnu/ debug/tmc-langs-cli | wc -l)
104104 if [ $ACTUAL -ne $EXPECTED ]; then
105105 echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL"
106+ exit 1
107+ fi
108+
109+ - name : Check number of dynamic libraries hasn't changed
110+ if : matrix.os == 'macos-latest'
111+ run : |
112+ EXPECTED=5
113+ ACTUAL=$(ldd ./target/aarch64-apple-darwin/debug/tmc-langs-cli | wc -l)
114+ if [ $ACTUAL -ne $EXPECTED ]; then
115+ echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL"
116+ exit 1
106117 fi
You can’t perform that action at this time.
0 commit comments