1 parent 1db9e93 commit c359680Copy full SHA for c359680
1 file changed
.github/workflows/windows-build.yml
@@ -138,8 +138,15 @@ jobs:
138
# Execute the batch file
139
cmd //c compile_test.bat
140
141
- # Copy DLL to current directory and run
142
- cp "$DLL_NAME" .
+ # Ensure DLL is available beside the test executable
+ if [ ! -f "./$DLL_NAME" ]; then
143
+ DLL_PATH=$(find .. -name "$DLL_NAME" -print -quit)
144
+ if [ -z "$DLL_PATH" ]; then
145
+ echo "✗ Windows shared library $DLL_NAME not found for runtime"
146
+ exit 1
147
+ fi
148
+ cp "$DLL_PATH" .
149
150
./test_shared.exe
151
echo "✓ Windows shared library linking test passed"
152
else
0 commit comments