mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-27 02:30:33 +01:00
[gha] install full OpenSSL package
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
fb8263f9b9
commit
ff50daf003
1 changed files with 10 additions and 3 deletions
13
.github/workflows/build-windows-msvc.yml
vendored
13
.github/workflows/build-windows-msvc.yml
vendored
|
@ -19,11 +19,17 @@ jobs:
|
||||||
- name: Build and install zlib
|
- name: Build and install zlib
|
||||||
run: powershell -Command "(Invoke-WebRequest -Uri https://git.io/JnHTY -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat
|
run: powershell -Command "(Invoke-WebRequest -Uri https://git.io/JnHTY -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat
|
||||||
|
|
||||||
- name: Install boost
|
- name: Install Boost
|
||||||
run: |
|
run: |
|
||||||
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.81.0/boost_1_81_0-msvc-14.2-64.exe"
|
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.81.0/boost_1_81_0-msvc-14.2-64.exe"
|
||||||
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
|
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
|
||||||
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.81.0\x86_64"
|
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.81.0"
|
||||||
|
|
||||||
|
- name: Install OpenSSL
|
||||||
|
run: |
|
||||||
|
$Url = "https://slproweb.com/download/Win64OpenSSL-1_1_1t.exe"
|
||||||
|
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\openssl.exe")
|
||||||
|
Start-Process -Wait -FilePath "$env:TEMP\openssl.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\OpenSSL\1.1.1t"
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
|
@ -31,7 +37,8 @@ jobs:
|
||||||
cmake -G "Visual Studio 16 2019" .
|
cmake -G "Visual Studio 16 2019" .
|
||||||
cmake --build . --config Debug -- -m
|
cmake --build . --config Debug -- -m
|
||||||
env:
|
env:
|
||||||
BOOST_ROOT: C:\hostedtoolcache\windows\Boost\1.81.0\x86_64
|
OPENSSL_ROOT_DIR: C:\hostedtoolcache\windows\OpenSSL\1.1.1t
|
||||||
|
BOOST_ROOT: C:\hostedtoolcache\windows\Boost\1.81.0
|
||||||
WITH_STATIC: ON
|
WITH_STATIC: ON
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue