mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-27 02:30:33 +01:00
[gha] try to install boost using other way
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
c6bf8bad58
commit
fb8263f9b9
1 changed files with 7 additions and 10 deletions
17
.github/workflows/build-windows-msvc.yml
vendored
17
.github/workflows/build-windows-msvc.yml
vendored
|
@ -20,22 +20,19 @@ jobs:
|
||||||
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
|
||||||
uses: MarkusJx/install-boost@v2.4.4
|
run: |
|
||||||
id: install-boost
|
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.81.0/boost_1_81_0-msvc-14.2-64.exe"
|
||||||
with:
|
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe")
|
||||||
boost_version: 1.81.0
|
Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\hostedtoolcache\windows\Boost\1.81.0\x86_64"
|
||||||
boost_install_dir: C:\boost
|
|
||||||
platform_version: 2019
|
|
||||||
toolset: msvc
|
|
||||||
link: static
|
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
cmake -DWITH_STATIC=ON .
|
cmake -G "Visual Studio 16 2019" .
|
||||||
cmake --build . --config Debug -- -m
|
cmake --build . --config Debug -- -m
|
||||||
env:
|
env:
|
||||||
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
|
BOOST_ROOT: C:\hostedtoolcache\windows\Boost\1.81.0\x86_64
|
||||||
|
WITH_STATIC: ON
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue