Skip to content

Commit 1c5c106

Browse files
authored
use preinstalled OpenSSL for github actions windows agent (#437)
1 parent ba795d0 commit 1c5c106

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/windows.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
os: [windows-2022, windows-2019]
1414
runs-on: ${{ matrix.os }}
1515
steps:
16-
- name: Install build environment
17-
run: |
18-
choco install --no-progress openssl
1916
- uses: actions/checkout@v2
2017
with:
2118
submodules: recursive

bin/build-tests.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run(*args)
8686

8787
Dir.chdir(BUILD_DIR) do
8888
if RUBY_PLATFORM =~ /mswin|mingw/
89-
CB_CMAKE_EXTRAS << "-DOPENSSL_ROOT_DIR=C:/Program Files/OpenSSL-Win64"
89+
CB_CMAKE_EXTRAS << "-DOPENSSL_ROOT_DIR=C:/Program Files/OpenSSL"
9090
else
9191
CB_CMAKE_EXTRAS << "-DCMAKE_C_COMPILER=#{CB_CC}" << "-DCMAKE_CXX_COMPILER=#{CB_CXX}"
9292
end

0 commit comments

Comments
 (0)