Skip to content

Commit 62a245e

Browse files
author
arman-bd
committed
fix: add BoringSSL and vcpkg DLL paths to PATH for Windows
1 parent 4335e7b commit 62a245e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/_test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,20 @@ jobs:
190190
- name: Install package
191191
run: pip install -e ".[dev]"
192192

193+
- name: Add DLL paths to PATH (Windows)
194+
if: runner.os == 'Windows'
195+
run: |
196+
echo "Adding BoringSSL and vcpkg DLL paths to PATH..."
197+
echo "${{ github.workspace }}/vendor/boringssl/build/Release" >> $GITHUB_PATH
198+
echo "C:/vcpkg/installed/x64-windows/bin" >> $GITHUB_PATH
199+
shell: bash
200+
193201
- name: Verify C extension was built
194202
run: |
195203
echo "Checking for built C extensions..."
196204
find . -name "*.pyd" -o -name "*.so" 2>/dev/null || echo "No extensions found"
197205
ls -R build/ 2>/dev/null || echo "No build directory"
206+
echo "PATH: $PATH"
198207
python -c "import httpmorph._httpmorph; print('C extension loaded successfully')" || echo "Failed to import C extension"
199208
shell: bash
200209

0 commit comments

Comments
 (0)