summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2018-03-03 22:51:25 +0000
committerChris Wilson <chris+github@qwirx.com>2018-03-03 23:04:49 +0000
commit0738a0518bfb059de97ba960fa172347887c88be (patch)
treefc2a0f7500cea51440111085e8f92af42b787cd9
parent6178fd3469fb18f1ec829f64698c21305141783c (diff)
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.
-rw-r--r--appveyor.yml8
1 files changed, 8 insertions, 0 deletions
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'