From fc6068d6035654d57d3671e739ee717659a8dec2 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Mon, 27 Oct 2025 12:33:29 +0000 Subject: [PATCH] fix: fixing dlls --- .github/workflows/build.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 598b157f..949bc864 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,27 +36,15 @@ jobs: - name: Install dependencies run: pip install -r requirements.txt - - name: Download OpenSSL 1.1.1w installer - if: matrix.os == 'windows-2022' - shell: pwsh - run: | - $url = "https://slproweb.com/download/Win64OpenSSL-1_1_1w.exe" - $out = "$env:RUNNER_TEMP\Win64OpenSSL-1_1_1w.exe" - Invoke-WebRequest $url -OutFile $out - - - name: Silent install OpenSSL 1.1.1w - if: matrix.os == 'windows-2022' - shell: pwsh - run: | - $installer = "$env:RUNNER_TEMP\Win64OpenSSL-1_1_1w.exe" - if (!(Test-Path $installer)) { Write-Error "Installer not found: $installer"; exit 1 } - $dest = Join-Path $env:ProgramFiles "OpenSSL-Win64" - $args = "/VERYSILENT /SUPPRESSMSGBOXES /SP- /NORESTART /DIR=""$dest""" - Start-Process -FilePath $installer -ArgumentList $args -Wait -NoNewWindow - - name: Build with cx_Freeze run: python python_rpc/setup.py build + - name: Copy OpenSSL DLLs + if: matrix.os == 'windows-2022' + run: | + cp hydra-python-rpc/lib/libcrypto-1_1.dll hydra-python-rpc/lib/libcrypto-1_1-x64.dll + cp hydra-python-rpc/lib/libssl-1_1.dll hydra-python-rpc/lib/libssl-1_1-x64.dll + - name: Build Linux if: matrix.os == 'ubuntu-latest' run: |