Skip to content

Commit 5880b9b

Browse files
authored
Fix cryptography builds on Windows. (#2704)
More work towards #2658.
1 parent ff17647 commit 5880b9b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ jobs:
285285
if: env.SSH_PRIVATE_KEY != ''
286286
with:
287287
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
288+
- name: Install OpenSSL (Windows)
289+
shell: powershell
290+
run: |
291+
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
292+
vcpkg install openssl:x64-windows-static-md
288293
- name: Run Tests
289294
uses: pex-tool/actions/run-tox@c53dadd8b410bbd66480de91067e9e45d2b3af38
290295
continue-on-error: true

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ passenv =
5252
# Mac (Homebrew) needs these.
5353
HOME
5454
# Windows needs these.
55+
OPENSSL_DIR
5556
PATHEXT
5657
USER
5758
USERNAME

0 commit comments

Comments
 (0)