From 0738a0518bfb059de97ba960fa172347887c88be Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 3 Mar 2018 22:51:25 +0000 Subject: Workaround SourceForget brokenness in AppVeyor builds Download NSIS and Boost archives ourselves and install in correct places for Chocolatey and CMake to find and use them, instead of trying to download them from SourceForge. --- appveyor.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index d75eff77..602ef4e6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,6 +39,12 @@ init: # scripts that run after cloning repository (before the build step, not after!) install: + # work around sourceforge brokenness by temporarily download some files ourselves: + - ps: New-Item -ItemType Directory -Force -Path $env:TEMP\chocolatey\nsis.portable\3.02.0.20160720 + - ps: invoke-webrequest -uri https://10gbps-io.dl.sourceforge.net/project/nsis/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2.zip -outfile $env:TEMP\chocolatey\nsis.portable\3.02.0.20160720\download + - ps: New-Item -ItemType Directory -Force -Path ..\cmake\Download\boost + - ps: invoke-webrequest -uri http://download.openpkg.org/components/cache/boost/boost_1_62_0.tar.bz2 -outfile ..\cmake\Download\boost\boost_1_62_0.tar.bz2 + # test_bbackupd needs 7zip (or cmake -E tar) to extract tar archives on Windows: - cinst -y --limit-output 7zip.commandline nsis.portable - dir "c:\Program Files" @@ -107,3 +113,5 @@ deploy: - master - windows_binary_packages +cache: + - '%TEMP%\chocolatey' -- cgit v1.2.3