Skip to content

Commit 357ba66

Browse files
author
arman-bd
committed
debug: check for DLL files and improve error output
1 parent 5427dd0 commit 357ba66

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/_test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,13 @@ jobs:
203203
echo "Checking for built C extensions..."
204204
find . -name "*.pyd" -o -name "*.so" 2>/dev/null || echo "No extensions found"
205205
ls -R build/ 2>/dev/null || echo "No build directory"
206-
echo "Checking DLL dependencies..."
207-
python -c "import sys; print('Python path:', sys.path)"
208-
python -c "import httpmorph._httpmorph; print('SUCCESS: C extension loaded')" || python -c "import traceback; traceback.print_exc()"
206+
echo ""
207+
echo "Checking for DLL files..."
208+
ls -la vendor/boringssl/build/Release/*.dll vendor/boringssl/build/Release/*.lib 2>/dev/null || echo "No DLLs in BoringSSL Release"
209+
ls -la C:/vcpkg/installed/x64-windows/bin/*.dll 2>/dev/null | head -20 || echo "No DLLs in vcpkg"
210+
echo ""
211+
echo "Attempting to load C extension..."
212+
python -c "import sys; sys.path.insert(0, 'src'); import httpmorph._httpmorph; print('SUCCESS: C extension loaded')" 2>&1 || echo "Failed to load extension"
209213
shell: bash
210214

211215
- name: Lint

0 commit comments

Comments
 (0)