Browse Source

[gha] MSVC: Switch to direct Boost and OpenSSL installation

pull/2006/head
R4SAS 12 months ago committed by GitHub
parent
commit
1e9bcd6b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      .github/workflows/build-windows-msvc.yml

24
.github/workflows/build-windows-msvc.yml

@ -26,15 +26,27 @@ jobs: @@ -26,15 +26,27 @@ jobs:
./install_zlib.bat
del install_zlib.bat
#- name: Install Boost
# uses: crazy-max/ghaction-chocolatey@v2
# with:
# args: install boost-msvc-14.3 --version=1.81.0
#- name: Install OpenSSL
# uses: crazy-max/ghaction-chocolatey@v2
# with:
# args: install openssl
- name: Install Boost
uses: crazy-max/ghaction-chocolatey@v2
with:
args: install boost-msvc-14.3 --version=1.81.0
run: |
powershell -Command "(Invoke-WebRequest -UserAgent "Wget" -Uri https://sourceforge.net/projects/boost/files/boost-binaries/1.84.0/boost_1_84_0-msvc-14.3-64.exe/download -OutFile boost_1_84_0-msvc-14.3-64.exe)"
./boost_1_84_0-msvc-14.3-64.exe /VERYSILENT
del boost_1_84_0-msvc-14.3-64.exe
- name: Install OpenSSL
uses: crazy-max/ghaction-chocolatey@v2
with:
args: install openssl
run: |
powershell -Command "(Invoke-WebRequest -UserAgent "Wget" -Uri https://slproweb.com/download/Win64OpenSSL-3_2_0.exe -OutFile Win64OpenSSL-3_2_0.exe)"
./Win64OpenSSL-3_2_0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
del Win64OpenSSL-3_2_0.exe
- name: Configure
working-directory: build

Loading…
Cancel
Save