Skip to content

Commit

Permalink
Merge pull request seredat#143 from aivve/ci_cd/boost_again_again
Browse files Browse the repository at this point in the history
Alternative way to install boost on Windows for Github Actions build system
  • Loading branch information
aivve authored Mar 22, 2021
2 parents dc5c988 + 724114e commit 4ad68e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ jobs:
uses: microsoft/setup-msbuild@v1.0.2

- name: Install Boost
shell: cmd
shell: powershell
run: |
choco install wget --no-progress
wget -nv -O boost-installer.exe "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe/download"
boost-installer.exe /dir=%BOOST_ROOT% /sp- /verysilent /suppressmsgboxes /norestart
- name: Install OpenSSL
run: choco install openssl
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost-installer.exe")
Start-Process -Wait -FilePath "$env:TEMP\boost-installer.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=$env:BOOST_ROOT"
- name: Build
shell: powershell
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,11 @@ jobs:
uses: microsoft/setup-msbuild@v1.0.2

- name: Install Boost
shell: cmd
shell: powershell
run: |
choco install wget --no-progress
wget -nv -O boost-installer.exe "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe/download"
boost-installer.exe /dir=%BOOST_ROOT% /sp- /verysilent /suppressmsgboxes /norestart
- name: Install OpenSSL
run: choco install openssl
$Url = "https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.2-64.exe"
(New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost-installer.exe")
Start-Process -Wait -FilePath "$env:TEMP\boost-installer.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=$env:BOOST_ROOT"
- name: Build
shell: powershell
Expand Down

0 comments on commit 4ad68e1

Please sign in to comment.