diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6f6ecca33..40749435f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -643,12 +643,12 @@ stages: cd ../.. displayName: Build - powershell: | - $env:HOME = $env:HOMEDRIVE + $env:HOMEPATH - cd ${env:HOME} - wget https://dl.bintray.com/boostorg/release/${env:BOOST_VERSION}/source/boost_${env:BOOST_VERSION_U}.zip - 7z x boost_${env:BOOST_VERSION_U}.zip - cd boost_${env:BOOST_VERSION_U} - echo "using" "msvc" ";" > ${env:HOME}/user-config.jam + $env:HOME = "$env:HOMEDRIVE" + "$env:HOMEPATH" + cd "${env:HOME}" + Invoke-WebRequest "https://dl.bintray.com/boostorg/release/${env:BOOST_VERSION}/source/boost_${env:BOOST_VERSION_U}.zip" -OutFile "boost_${env:BOOST_VERSION_U}.zip" + 7z x "boost_${env:BOOST_VERSION_U}.zip" + cd "boost_${env:BOOST_VERSION_U}" + echo "using" "msvc" ";" > "${env:HOME}/user-config.jam" & "${env:BUILD_SOURCESDIRECTORY}\src\engine\b2.exe" "--boost-build=${env:BUILD_SOURCESDIRECTORY}/src" --debug-configuration --build-type=complete --layout=versioned -n -d1 toolset=msvc install displayName: Test