summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-06-13 22:38:58 +0800
committerruki <[email protected]>2019-06-13 09:53:49 +0800
commite859eb379e8ab64b0c20b859d9377d56fe4b6562 (patch)
tree94ee4d9cf923ceefdf297ae8858d1370919472b7
parent5586abf9618122399d8af5a4e7b33dc02fe5071c (diff)
fix curl on ci
-rw-r--r--.appveyor.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 8cb95ae45..de90f012d 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -23,11 +23,10 @@ install:
- ps: Expand-Archive ./unzip.zip -DestinationPath ./unzip
- ps: Copy-Item ./unzip/bin/unzip.exe ./winenv/bin
# curl
- - ps: Invoke-WebRequest "https://curl.haxx.se/windows/dl-7.65.1/curl-7.65.1-win$(if ($env:platform -eq 'x64') { '64' } else { '32' })-mingw.zip" -UseBasicParsing -OutFile .\curl.zip
- - ps: Expand-Archive ./curl.zip -DestinationPath ./curl
- - ps: Move-Item ./curl/*/* ./curl
- - ps: Copy-Item ./curl/bin/curl.exe ./winenv/bin
- - ps: Copy-Item ./curl/bin/curl-ca-bundle.crt ./winenv/bin
+ - ps: Invoke-WebRequest "https://github.com/xmake-io/xmake-win$(if ($env:platform -eq 'x64') { '64' } else { '32' })env/raw/master/bin/curl.exe" -UseBasicParsing -OutFile .\curl.exe
+ - ps: Invoke-WebRequest "https://raw.githubusercontent.com/xmake-io/xmake-win$(if ($env:platform -eq 'x64') { '64' } else { '32' })env/master/bin/curl-ca-bundle.crt" -UseBasicParsing -OutFile .\curl-ca-bundle.crt
+ - ps: Copy-Item ./curl.exe ./winenv/bin
+ - ps: Copy-Item ./curl-ca-bundle.crt ./winenv/bin
#
- ps: Pop-Location
# install xmake