Skip to content

Commit

Permalink
Merge pull request #8474 from KratosMultiphysics/ci/win-boost
Browse files Browse the repository at this point in the history
[CI][Win] downloading boost
  • Loading branch information
philbucher authored Mar 12, 2021
2 parents e1a6124 + 8bdfc40 commit 8370a99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ jobs:
path: build
key: ${{ runner.os }}-build-${{ github.sha }}
restore-keys: ${{ runner.os }}-build-

- name: Download boost
run: |
$url = "https://sourceforge.net/projects/boost/files/boost/1.74.0/boost_1_74_0.tar.gz/download"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\boost.tar.gz")
7z.exe x "$env:TEMP\boost.tar.gz" -o"$env:TEMP\boostArchive" -y | Out-Null
7z.exe x "$env:TEMP\boostArchive" -o"$env:TEMP\boost" -y | Out-Null
Push-Location -Path "$env:TEMP\boost"
- name: Installing dependencies
shell: cmd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/configure.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cmake ^
-G"Visual Studio 16 2019" ^
-H"%KRATOS_SOURCE%" ^
-B"%KRATOS_BUILD%\%KRATOS_BUILD_TYPE%" ^
-DBOOST_ROOT="%BOOST_ROOT_1_72_0%" ^
-DBOOST_ROOT="%TEMP%\boost" ^
-DINSTALL_RUNKRATOS=OFF ^
-DCMAKE_CXX_FLAGS="/Od /we4661 /we4804 /WX" ^
-DFORCE_LOCAL_ZLIB_COMPILATION=ON ^
Expand Down

0 comments on commit 8370a99

Please sign in to comment.