Skip to content

Commit 004a1fc

Browse files
committed
Download boost on windows
1 parent d2ad217 commit 004a1fc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ci/windows.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ param (
2222
[string]$build = "windows"
2323
)
2424

25+
Add-Type -AssemblyName System.IO.Compression.FileSystem
26+
2527
Write-Host "NFHTTP build process starting..."
2628
Write-Host $build
2729

@@ -30,6 +32,10 @@ try
3032
# Upgrade pip or else the CI will complain
3133
c:\python27\python.exe -m pip install --upgrade pip
3234

35+
wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.zip -OutFile boost_1_64_0.zip
36+
[System.IO.Compression.ZipFile]::ExtractToDirectory("boost_1_64_0.zip", "boost_1_64_0")
37+
$env:BOOST_ROOT = Join-Path $PSScriptRoot "boost_1_64_0"
38+
3339
# Start virtualenv
3440
pip install virtualenv
3541
virtualenv nfhttp_env

0 commit comments

Comments
 (0)