Skip to content

Commit

Permalink
Try to fix Windows CI
Browse files Browse the repository at this point in the history
GitHub says [0] that OpenSSL is already installed, so we *shouldn't need to futz
around with vcpkg, choco, etc to install that and slow things down further. But
it could be installed to C:\OpenSSL, C:\OpenSSL-Win64,
C:\Program Files\OpenSSL-Win64\, etc.
  • Loading branch information
mqudsi committed Feb 28, 2024
1 parent e895778 commit 504179b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
CARGO_TERM_COLOR: always

jobs:
jobs:
build:
strategy:
matrix:
Expand All @@ -18,6 +18,13 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set OPENSSL_DIR for Windows
if: startsWith(matrix.os, 'windows')
run:
dir C:\
DIR "C:\Program Files"
DIR "C:\Program Files (x86)"
echo "OPENSSL_DIR=C:\Program Files\OpenSSL-Win64" >> $GITHUB_ENV
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down

0 comments on commit 504179b

Please sign in to comment.