Skip to content

Commit 651905e

Browse files
committed
Fix dynamic lib, add test
1 parent 9ffe0b3 commit 651905e

File tree

13 files changed

+226
-329
lines changed

13 files changed

+226
-329
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,12 @@ jobs:
9595
9696
- name: Run tests
9797
run: cargo test --no-fail-fast --target ${{ matrix.rust-target }}
98+
99+
- name: Check number of dynamic libraries hasn't changed
100+
if: matrix.os == 'ubuntu-latest'
101+
run: |
102+
EXPECTED=5
103+
ACTUAL=$(ldd ./target/debug/tmc-langs-cli | wc -l)
104+
if [ $ACTUAL -ne $EXPECTED ]; then
105+
echo "::error title=unexpected-dynamic-libraries::Expected $EXPECTED dynamic libraries, found $ACTUAL"
106+
fi

0 commit comments

Comments
 (0)