Skip to content

Commit 17cae4a

Browse files
add windows dll fail-check
1 parent a50acef commit 17cae4a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ jobs:
190190
cd build/bin
191191
rm hello_test* *.pdb || true
192192
ls *.exe | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
193-
# Currently, Sundials only requires system32 dlls!
193+
# Currently, Sundials only requires system32 dlls! But let's check just in case, and fail if it finds dlls!
194+
ls | grep *.dll | wc -l || exit 1
194195
# ls *.dll | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
195196
# ls *.dll | awk '{print $1}' | xargs -I '{}' ldd '{}' | grep '=> /' | grep -v build | grep -iv windows | awk '{print $3}' | xargs -I '{}' cp -vn '{}' . || true
196197
chmod u+w,+x *

0 commit comments

Comments
 (0)