Skip to content

Commit

Permalink
Fix Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Aug 4, 2023
1 parent 60ef460 commit 3de8354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
if: runner.os == 'Windows'
shell: cmd
run: |
choco install openssl --no-progress || exit /b
choco install openssl.light --version=1.1.1 --no-progress || exit /b
mkdir extern_deps || exit /b
copy "%PROGRAMFILES%\OpenSSL-Win64\lib\VC\libssl64MT.lib" extern_deps\libssl.lib || exit /b
copy "%PROGRAMFILES%\OpenSSL-Win64\lib\VC\libcrypto64MT.lib" extern_deps\libcrypto.lib || exit /b
copy "%PROGRAMFILES%\OpenSSL\lib\VC\libssl64MT.lib" extern_deps\libssl.lib || exit /b
copy "%PROGRAMFILES%\OpenSSL\lib\VC\libcrypto64MT.lib" extern_deps\libcrypto.lib || exit /b
echo KAL_EXT_LIB_WIN64=%CD%\extern_deps>> %GITHUB_ENV%
- name: dub build
Expand Down
4 changes: 2 additions & 2 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ dependency "openssl" version=">=3.1.0"
dependency "requests" version="~>2"
dependency "mir-ion" version=">=1.0.26"
libs "ssl" "crypto" platform="posix"
# Windows: get OpenSSL libs via e.g. `choco install openssl`, then copy e.g.
# `C:\Program Files\OpenSSL-Win64\lib\VC\lib{ssl,crypto}64MT.lib` to some
# Windows: get OpenSSL libs via e.g. `choco install openssl.light --version=1.1.1`,
# then copy e.g. `C:\Program Files\OpenSSL\lib\VC\lib{ssl,crypto}64MT.lib` to some
# folder and rename to `lib{ssl,crypto}.lib`. Then tell the linker about
# this folder, either via LIB environment variable or via /LIBPATH lflag in
# your dub.sdl.
Expand Down

0 comments on commit 3de8354

Please sign in to comment.